Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. MBP-Pavel:demoapp pavel$ docker-compose up --build
  2. WARNING: The Docker Engine you're using is running in swarm mode.
  3.  
  4. Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
  5.  
  6. To deploy your application across the swarm, use `docker stack deploy`.
  7.  
  8. Removing demoapp_api_1_6f198d4b1db4
  9. Building api
  10. Step 1/6 : FROM golang
  11. ---> df6ac9d1bf64
  12. Step 2/6 : WORKDIR /usr/src/app
  13. ---> Using cache
  14. ---> 22e687faace8
  15. Step 3/6 : COPY . /usr/src/app
  16. ---> Using cache
  17. ---> d78a43f796ee
  18. Step 4/6 : RUN go get -d -v .
  19. ---> Using cache
  20. ---> 4d4c77a2bd5a
  21. Step 5/6 : RUN go build -o main .
  22. ---> Using cache
  23. ---> 3741f28b6c69
  24. Step 6/6 : CMD ["./main"]
  25. ---> Using cache
  26. ---> 4ae6ff9cf413
  27.  
  28. Successfully built 4ae6ff9cf413
  29. Successfully tagged demoapp_api:latest
  30. demoapp_database_1_c0a99444047c is up-to-date
  31. Recreating f97ae865ad6d_demoapp_api_1_6f198d4b1db4 ... error
  32.  
  33. ERROR: for f97ae865ad6d_demoapp_api_1_6f198d4b1db4 Cannot start service api: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"./main\": stat ./main: no such file or directory": unknown
  34.  
  35. ERROR: for api Cannot start service api: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"./main\": stat ./main:no such file or directory": unknown
  36. ERROR: Encountered errors while bringing up the project.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement