Erick Manrique ← IDEAS? What Should We Do Next? My feedback 1 result found I suggest you fix your friggin' labs. 9 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 1 comment · Workbench » General · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Erick Manrique commented · May 06, 2022 · Edit… · Delete… First encountered this error myself in step 4 of the hands-on lab for week 2 of the introduction to containers course. this line: ``` docker build -t us.icr.io/$MY_NAMESPACE/hello-world:1 . && docker push us.icr.io/$MY_NAMESPACE/hello-world:1 ``` errors out with ``` invalid argument "us.icr.io/sn-labs-/hello-world:1" for "-t, --tag" flag: invalid reference format See 'docker build --help'. ``` Save Submitting... Erick Manrique supported this idea · May 06, 2022
First encountered this error myself in step 4 of the hands-on lab for week 2 of the introduction to containers course.
this line:
```
docker build -t us.icr.io/$MY_NAMESPACE/hello-world:1 . && docker push us.icr.io/$MY_NAMESPACE/hello-world:1
```
errors out with
```
invalid argument "us.icr.io/sn-labs-/hello-world:1" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
```