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-compose example fails on MacOS #97

Open
annanay25 opened this issue Nov 6, 2020 · 0 comments
Open

docker-compose example fails on MacOS #97

annanay25 opened this issue Nov 6, 2020 · 0 comments

Comments

@annanay25
Copy link

Hey Buoyant folks 👋

Problem

$ make deploy-to-docker-compose
docker-compose stop
docker-compose rm -vf
No stopped containers
/Library/Developer/CommandLineTools/usr/bin/make -C emojivoto-web build-container
docker build .. -t "buoyantio/emojivoto-web:v10" --build-arg svc_name=emojivoto-web
Sending build context to Docker daemon  37.67MB
Step 1/5 : FROM buoyantio/emojivoto-svc-base:v10
v10: Pulling from buoyantio/emojivoto-svc-base
91028a6d2ef7: Pull complete
21c90fa7ccf4: Pull complete
Digest: sha256:1e7039ceb589274f493d3c29f6d0e0b764795b268693ecafe127285808f63f03
Status: Downloaded newer image for buoyantio/emojivoto-svc-base:v10
 ---> f59fdbacafa2
Step 2/5 : ARG svc_name
 ---> Running in 5fcd7438e7b3
Removing intermediate container 5fcd7438e7b3
 ---> 50be637330ab
Step 3/5 : COPY $svc_name/target/ /usr/local/bin/
COPY failed: stat /var/lib/docker/tmp/docker-builder245391831/emojivoto-web/target: no such file or directory
make[1]: *** [build-container] Error 1
make: *** [deploy-to-docker-compose] Error 2

Solution
I ran the following:

$ make web
.
.
Successfully tagged buoyantio/emojivoto-web:v10

$ make emoji-svc
.
.
Successfully tagged buoyantio/emojivoto-emoji-svc:v10

$ make voting-svc
.
.
Successfully tagged buoyantio/emojivoto-voting-svc:v10

.. and then it worked.

OS, Go version, docker-compose version
MacOS, go 1.15.3 darwin, docker-compose version 1.24.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant