Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MBP-Pavel:demoapp pavel$ docker-compose up --build
- WARNING: The Docker Engine you're using is running in swarm mode.
- Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
- To deploy your application across the swarm, use `docker stack deploy`.
- Removing demoapp_api_1_6f198d4b1db4
- Building api
- Step 1/6 : FROM golang
- ---> df6ac9d1bf64
- Step 2/6 : WORKDIR /usr/src/app
- ---> Using cache
- ---> 22e687faace8
- Step 3/6 : COPY . /usr/src/app
- ---> Using cache
- ---> d78a43f796ee
- Step 4/6 : RUN go get -d -v .
- ---> Using cache
- ---> 4d4c77a2bd5a
- Step 5/6 : RUN go build -o main .
- ---> Using cache
- ---> 3741f28b6c69
- Step 6/6 : CMD ["./main"]
- ---> Using cache
- ---> 4ae6ff9cf413
- Successfully built 4ae6ff9cf413
- Successfully tagged demoapp_api:latest
- demoapp_database_1_c0a99444047c is up-to-date
- Recreating f97ae865ad6d_demoapp_api_1_6f198d4b1db4 ... error
- 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
- 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
- ERROR: Encountered errors while bringing up the project.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement