Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with creating docker image #44

Closed
marjanemd opened this issue May 21, 2020 · 3 comments
Closed

Issue with creating docker image #44

marjanemd opened this issue May 21, 2020 · 3 comments
Assignees
Labels
installation Installation instructions question Further information is requested

Comments

@marjanemd
Copy link

Following the instructions of aimet/USAGE.md, while building the docker, I need to specify the docker's name, and I have defined it as :
docker_image_name='img:f14'

But getting the error that the argument is invalid. I have searched about the issue, and I believe the format of the definition is correct!
Appreciate any help!

@quic-ssiddego quic-ssiddego added installation Installation instructions question Further information is requested labels May 21, 2020
@quic-akhobare
Copy link
Contributor

Thanks for the report @marjanemd. Can you please post the error message?

@marjanemd
Copy link
Author

Sure. I have named my docker as:

docker_image_name="docker_img:f123"
But once I run

docker build -t ${docker_image_name} -f $WORKSPACE/aimet/Jenkins/Dockerfile .
I get the following error:

invalid argument ":f123" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.

In the help it has also mentioned that the docker image name and tag should be in format of : 'name:tag'
which it already is!

I really appreciate your help.

@quic-bharathr
Copy link
Contributor

@marjanemd Do you still have this issue? I was able to build a docker using the exact same name and tag you mentioned above. What version of docker are you using? Is your environment identical or close to the requirements here? https://github.com/quic/aimet/blob/develop/USAGE.md#requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation instructions question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants