From Phobos D'thorga, 3 Months ago, written in Bash.
This paste will slip away in 7 Months.
Embed
  1. [root@git portainer-compose]# docker-compose up -d
  2. Creating network "portainercompose_local" with driver "bridge"
  3. Building proxy
  4. Step 1/3 : FROM nginx:alpine
  5. alpine: Pulling from library/nginx
  6. 6c40cc604d8e: Pull complete
  7. 30c6e03cb91a: Pull complete
  8. 105f03a3abdf: Pull complete
  9. a492669e5fd8: Pull complete
  10. Digest: sha256:e0292d158b6b353fde34909243a4886977cb9d1abb8a8a5fef9e0ff7138dd3e2
  11. Status: Downloaded newer image for nginx:alpine
  12.  ---> b411e34b4606
  13. Step 2/3 : RUN rm -v /etc/nginx/conf.d/*
  14.  ---> Running in 492afa239b2e
  15. removed '/etc/nginx/conf.d/default.conf'
  16. Removing intermediate container 492afa239b2e
  17.  ---> ff4fedc54db7
  18. Step 3/3 : COPY config/portainer.conf /etc/nginx/conf.d/portainer.conf
  19.  ---> e301c2af2950
  20. Successfully built e301c2af2950
  21. Successfully tagged portainercompose_proxy:latest
  22. WARNING: Image for service proxy was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
  23. Pulling templates (portainer/templates:latest)...
  24. latest: Pulling from portainer/templates
  25. ff3a5c916c92: Pull complete
  26. ff6bd9dc511a: Pull complete
  27. 19deea388932: Pull complete
  28. a778cccae7b5: Pull complete
  29. 80d720eb84a4: Pull complete
  30. Digest: sha256:f22a024d030f8a15e944adeb901383f7d84af78ffe0f3c468537b2d914e18148
  31. Status: Downloaded newer image for portainer/templates:latest
  32. Pulling watchtower (v2tec/watchtower:latest)...
  33. latest: Pulling from v2tec/watchtower
  34. a5415f98d52c: Pull complete
  35. c3f7208ad77c: Pull complete
  36. 169c1e589d74: Pull complete
  37. Digest: sha256:4cb6299fe87dcbfe0f13dcc5a11bf44bd9628a4dae0035fecb8cc2b88ff0fc79
  38. Status: Downloaded newer image for v2tec/watchtower:latest
  39. Pulling portainer (portainer/portainer:latest)...
  40. latest: Pulling from portainer/portainer
  41. d1e017099d17: Pull complete
  42. 74a417ed7ac5: Pull complete
  43. Digest: sha256:ac9aeaf784962573baf26c03cd9709114d7fbfe7e5bd690b1f8e3b46642e67ea
  44. Status: Downloaded newer image for portainer/portainer:latest
  45. Creating portainer-proxy ... error
  46. Creating portainer-proxy ...
  47. Creating portainer-app ...
  48. Creating portainer-templates ...
  49.  
  50. ERROR: for portainer-proxy  Cannot start service proxy: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:58: mounting \\\"/opt/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/409914ab3b9a12eec09ecea4f36abd62b3bfc4d6e9179489a199c42d1f6664f5/merged\\\" at \\\"/var/lib/docker/overlay2/409914ab3b9a12eec09ecea4f36abd62b3bfc4d6e9179489a199c42d1f6664f5/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
  51.  
  52. ERROR: for proxy  Cannot start service proxy: OCI runtime create failed: container_linux.go:344: starting container process caused "process_linux.go:424: container init caused \"rootfs_linux.go:58: mounting \\\"/opt/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/409914ab3b9a12eec09ecea4f36abd62b3bfc4d6e9179489a199c42d1f6664f5/merged\\\" at \\\"/var/lib/docker/overlay2/409914ab3b9a12eec09ecea4f36abd62b3bfc4d6e9179489a199c42d1f6664f5/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
  53. ERROR: Encountered errors while bringing up the project.
  54. [root@git portainer-compose]#