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

docker instructions fail due to conflicting container names from build to run #11

Open
ericvh opened this issue May 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ericvh
Copy link
Contributor

ericvh commented May 13, 2021

Describe the bug

=> [final 1/2] WORKDIR /work 0.0s
=> [final 2/2] COPY --chown=erivan01 start_aesm.sh . 0.0s
=> exporting to image 43.1s
=> => exporting layers 43.1s
=> => writing image sha256:d4716c048d6ab9d5cbfa606dafd3b2609ced41d54c7742d5d5f77f99f917d2f8 0.0s
=> => naming to docker.io/library/veracruz_image_tz 0.0s
docker run --privileged -e DISPLAY= -d -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/erivan01/src/veracruz:/work/veracruz --name veracruz veracruz_image_tz
docker: Error response from daemon: Conflict. The container name "/veracruz" is already in use by container "5d60b12eae508847086d3f7c95f8af5b1665399bb9f6090544fb80fbe320b892". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
make: *** [Makefile:37: tz] Error 125

To Reproduce

in veracruz/docker:

make tz TEE=tz

Expected behavior
It works

@dominic-mulligan-arm dominic-mulligan-arm added the bug Something isn't working label May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants