Docker compose & docker-entrypoint - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/52942913/docker-compose-docker-entrypoint) (https://cdn.sstatic.net/Shared/stacks.css?v=619122b796ae) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=02dcb5186b90) (Feed for question 'Docker compose & docker-entrypoint') (/feeds/question/52942913) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) (2.0) Sign up with Google Sign up with GitHub OR (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) (1) (undefined) Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f52942913%2fdocker-compose-docker-entrypoint) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f52942913%2fdocker-compose-docker-entrypoint) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f52942913%2fdocker-compose-docker-entrypoint) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f52942913%2fdocker-compose-docker-entrypoint) Sign up (/) Home (/questions) Questions (/tags) Tags (/users) Users (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Labs (/jobs?source=so-left-nav) Jobs (/beta/discussions) Discussions Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=overflowai-learn-more) Learn more (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams Get early access and see previews of new features. (https://stackoverflow.co/labs/) Learn more about Labs (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/52942913/docker-compose-docker-entrypoint) Docker compose & docker-entrypoint (/questions/ask) Ask Question (2018-10-23 06:56:39Z) Asked 5 years, 10 months ago Modified (?lastactivity) (2022-05-12 14:29:59Z) 2 years, 3 months ago (Viewed 201,906 times) Viewed 202k times This question shows research effort; it is useful and clear (70:3:31e,16:69c4eefb58acde84,10:1725245692,16:302e346943ea336c,8:52942913,3df6a973f420e86d62977faed4a2d6a135368b79efaa99fd1874e8b273c0f797) 41 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:1aad6855ac2534b0,10:1725245692,16:a80f6c359b8e5719,8:52942913,8bd1f44948313598f983d78ebb2c85d9ee697bec26f9af3511af57b5078ec99b) Save this question. (/posts/52942913/timeline) Show activity on this post. When running docker-compose up --build I am always running into this error message. Anyone knows what I am doing wrong with the docker-entrypoint file? ERROR: for 986991ccdfe1_ubercoach_web_1 Cannot start service web: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"./docker-entrypoint.sh\": permission denied" : unknown ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"./docker-entrypoint.sh\": permission denied" : unknown ERROR: Encountered errors while bringing up the project. docker-compose: version: '3' services: db: image: postgres ports: - "5432:5432" web: build: . entrypoint: ./docker-entrypoint.sh env_file: .env volumes: - .:/code ports: - "8000:8000" depends_on: - db Dockerfile: # Pull base image FROM python:3 # Set environment varibles ENV PYTHONUNBUFFERED 1 # Set work directory RUN mkdir /code WORKDIR /code # Install dependencies RUN pip install --upgrade pip RUN pip install pipenv COPY ./Pipfile /code/Pipfile RUN pipenv install --deploy --system --skip-lock --dev # Copy project COPY . /code/ docker-entrypoint.sh #!/bin/bash # Collect static files echo "Collect static files" python manage.py collectstatic --noinput # Apply database migrations echo "Apply database migrations" python manage.py migrate # Start server echo "Starting server" python manage.py runserver 0.0 .0 .0 :8000 (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/docker-compose) (show questions tagged 'docker-compose') docker-compose (/q/52942913) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/52942913/edit) () Improve this question Follow (70:3:31e,16:8020092b03b7e57a,10:1725245692,16:e68a6e7ab69dc4ba,8:52942913,8b1f6a1591ba156e7a12a31aa9446bda6a0ea2cd02ae3e148dc380421753db62) Follow this question to receive notifications asked (2018-10-23 06:56:39Z) Oct 23, 2018 at 6:56 (/users/10419791/joey-coder) (Joey Coder's user avatar) (/users/10419791/joey-coder) Joey Coder Joey Coder (reputation score) 3,439 (9 gold badges) 9 9 gold badges (31 silver badges) 31 31 silver badges (68 bronze badges) 68 68 bronze badges 5 (number of 'useful comment' votes received) 3 Does the script bin/docker-entrypoint.sh have execute permissions? – (/users/6513005/vignesh-ramsubbose) (71 reputation) Vignesh Ramsubbose Commented (2018-10-23 07:03:48Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:03 (this comment was edited 2 times) Not sure to be honest. How can I find that out? – (/users/10419791/joey-coder) (3,439 reputation) Joey Coder Commented (2018-10-23 07:21:34Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:21 (number of 'useful comment' votes received) 1 Try the command "ls -lt docker-entrypoint.sh". This will show the permissions. – (/users/6513005/vignesh-ramsubbose) (71 reputation) Vignesh Ramsubbose Commented (2018-10-23 07:29:08Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:29 It says -rw-r--r--@ 1 Marc staff 270 Oct 22 23:59 docker-entrypoint.sh – (/users/10419791/joey-coder) (3,439 reputation) Joey Coder Commented (2018-10-23 07:34:24Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:34 (this comment was edited 1 time) (number of 'useful comment' votes received) 3 hjsimpson answered correctly. – (/users/6513005/vignesh-ramsubbose) (71 reputation) Vignesh Ramsubbose Commented (2018-10-23 07:42:05Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:42 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 5 Answers 5 Sorted by: (/questions/52942913/docker-compose-docker-entrypoint?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:b81ec29343501652,10:1725245692,16:b56fc539d216b48e,8:52943546,2141593958f738e544dfee49f9800335fae70a2d782236e727e4efb7a043d7d1) 38 (This answer is not useful) (70:3:31e,16:09387513b52ab8c0,10:1725245692,16:21e1c3d448b55e19,8:52943546,fd89bc73abe422ff2859107e08d9ea0ebaff4d338bc0488abaf23ee79ee2a9b8) Save this answer. (Loading when this answer was accepted…) (/posts/52943546/timeline) Show activity on this post. \"./docker-entrypoint.sh\": permission denied": unknown I would guess your docker-entrypoint.sh doesn't have execute permissions (x ). But also docker-compose.yml is not really the best place for the docker-entrypoint.sh . It's the override setting, see (https://docs.docker.com/compose/compose-file/#entrypoint) entrypoint . The default should go in the Dockerfile . Try this: Add this to the end of your Dockerfile COPY ./docker-entrypoint.sh /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh ENTRYPOINT ["/docker-entrypoint.sh" ] The docker-entrypoint.sh should be in the same folder as the Dockerfile (or adjust the COPY path). Remove the entrypoint line from your docker-compose.yml . Rebuild, rerun. (/a/52943546) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/52943546/edit) () Improve this answer Follow (70:3:31e,16:2d9c919c91427bda,10:1725245692,16:87b4807b6fbd8000,8:52943546,b36dc2e66285f6b87f91b793750c73ede557701fd764b5ac400a598e1f8e36e0) Follow this answer to receive notifications answered (2018-10-23 07:36:13Z) Oct 23, 2018 at 7:36 (/users/9935121/hjsimpson) (hjsimpson's user avatar) (/users/9935121/hjsimpson) hjsimpson hjsimpson (reputation score) 1,186 (11 silver badges) 11 11 silver badges (18 bronze badges) 18 18 bronze badges 2 (number of 'useful comment' votes received) 1 That's perfect, it works now! Thank you hjsimpson. One last question. You wrote COPY ./docker-entrypoint.sh /docker-entrypoint.sh . However I wrote above COPY ./Pipfile /code/Pipfile . Could I also just write COPY ./Pipfile /Pipfile ? – (/users/10419791/joey-coder) (3,439 reputation) Joey Coder Commented (2018-10-23 07:49:42Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:49 (number of 'useful comment' votes received) 2 It depends where you want your Pipfile to be inside your container. It's COPY source_path target_path source path is on your host, relative to the Dockerfile, target_path is an absolut path in your container, see also: (https://docs.docker.com/engine/reference/builder/#copy) docs.docker.com/engine/reference/builder/#copy – (/users/9935121/hjsimpson) (1,186 reputation) hjsimpson Commented (2018-10-23 07:52:44Z, License: CC BY-SA 4.0) Oct 23, 2018 at 7:52 (this comment was edited 2 times) (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:47aa8bb368006c7c,10:1725245692,16:d084f10b7d82239b,8:72217468,2bffb1ffab510c0e8205698fa4d9a5553b167fc8aa3d870f10a10e31c5273c12) 9 (This answer is not useful) (70:3:31e,16:4a5f3957b3b502ad,10:1725245692,16:9844a4257af3684e,8:72217468,64b91b23d5f68c784bafdb5d5b67f22e0a784a5eb66de9148fb4d71af2414888) Save this answer. (Loading when this answer was accepted…) (/posts/72217468/timeline) Show activity on this post. The solution was little bit different for me. First of all I needed to give a reference of the entrypointfile to the docker-compose.My dockerfile, docker-compose and entrypoint file stays all in a directory called docker, so services: app: build: context: .. dockerfile: docker/Dockerfile.development entrypoint: docker/development-entrypoint.sh ports: - 3000 :3000 env_file: - ../.env.development depends_on: - postgres I need to also change the execute right of the entrypoint and I did this in the dockerfile like this. RUN chmod 755 docker/entrypoint.sh The most annoying part was the .sh file. Normally by many different linux systems, you would start the .sh file as this #!/bin/bash Basicly, in one linux system, you use different shells.In .sh files, in order to define which shell you want to use, you start the file as show. But for me it did not work, since I was using node alpine image, and when I checked, there was no bash at all, so I had to chagne it to this. #!/bin/sh Hope it helps you or anyone who is having problem with this! (/a/72217468) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/72217468/edit) () Improve this answer Follow (70:3:31e,16:de43977034e1c044,10:1725245692,16:415cfa865944f5f7,8:72217468,94ae6a4577af0b9a8854dd837f1c240d15a6672bb2cf7fea89b2a01a4ce108e5) Follow this answer to receive notifications answered (2022-05-12 14:29:59Z) May 12, 2022 at 14:29 (/users/7643635/emre) (Emre's user avatar) (/users/7643635/emre) Emre Emre (reputation score) 350 (3 silver badges) 3 3 silver badges (9 bronze badges) 9 9 bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:c7127a25ff4bf010,10:1725245692,16:06e8a5f9eb72f2dc,8:65096281,34f160707b059a5e34312af31110803849d604732c8fc08fd5be9205747ad718) 6 (This answer is not useful) (70:3:31e,16:b995b4f33e31bc4b,10:1725245692,16:5ded7c3c5b4f9569,8:65096281,294e641a8036c28c5be0e98300ebf261a49dba4396a73f87fa57502e196330c5) Save this answer. (Loading when this answer was accepted…) (/posts/65096281/timeline) Show activity on this post. you should copy entrypoint like this: docker-compose: version: '3' services: db: image: postgres ports: - "5432:5432" web: build: . entrypoint: /docker-entrypoint.sh env_file: .env volumes: - .:/code ports: - "8000:8000" depends_on: - db Dockerfile: # Pull base image FROM python:3 # Set environment varibles ENV PYTHONUNBUFFERED 1 # Set work directory RUN mkdir /code WORKDIR /code # Install dependencies COPY ./docker-entrypoint.sh /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh RUN pip install --upgrade pip RUN pip install pipenv COPY ./Pipfile /code/Pipfile RUN pipenv install --deploy --system --skip-lock --dev # Copy project COPY . /code/ (/a/65096281) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/65096281/edit) () Improve this answer Follow (70:3:31e,16:4c2a5e43f8cf5e50,10:1725245692,16:25a913b735a3d32e,8:65096281,1fb59f3e9acf1c626c4640428e4a571e0b8f3ef12292ef5deb22923956cf6631) Follow this answer to receive notifications (/posts/65096281/revisions) (show all edits to this post) edited (2020-12-01 18:42:41Z) Dec 1, 2020 at 18:42 answered (2020-12-01 18:21:44Z) Dec 1, 2020 at 18:21 (/users/10604399/mrmahdi313) (MrMahdi313's user avatar) (/users/10604399/mrmahdi313) MrMahdi313 MrMahdi313 (reputation score) 79 (1 silver badge) 1 1 silver badge (6 bronze badges) 6 6 bronze badges 1 (number of 'useful comment' votes received) 2 docker-entrypoint doesnt work in every directory. you should copy to this dir: /docker-entrypoint.sh – (/users/10604399/mrmahdi313) (79 reputation) MrMahdi313 Commented (2020-12-01 18:43:33Z, License: CC BY-SA 4.0) Dec 1, 2020 at 18:43 (this comment was edited 2 times) (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:8b5b1758609b65e6,10:1725245692,16:5476f3714a2b0abf,8:62437955,8f0af8f5eff149d97e580f21b9996d6c57c42ed83eb7444ec30c2e12f5a1f11a) 4 (This answer is not useful) (70:3:31e,16:2120f0c74068eb81,10:1725245692,16:66f304ba20cc5503,8:62437955,638ed6fa43f5740adc26d037ed531bdace830b4a867c9269ae511c433e59e6cb) Save this answer. (Loading when this answer was accepted…) (/posts/62437955/timeline) Show activity on this post. You may add "bash" in Entrypoint: ENTRYPOINT ["bash","docker-entrypoint.sh"] (/a/62437955) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/62437955/edit) () Improve this answer Follow (70:3:31e,16:2ea15f93e0c8b70f,10:1725245692,16:043d327d548b4a8a,8:62437955,7bf4832491669e6530bfe071b7ef57cb109aba675d7162199169a0be81bc2678) Follow this answer to receive notifications answered (2020-06-17 20:36:53Z) Jun 17, 2020 at 20:36 (/users/12468682/elcin-guseynov) (Elcin Guseynov's user avatar) (/users/12468682/elcin-guseynov) Elcin Guseynov Elcin Guseynov (reputation score) 535 (4 silver badges) 4 4 silver badges (9 bronze badges) 9 9 bronze badges 0 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:3d9adc1f19da3db7,10:1725245692,16:4afff403866eb01e,8:58936193,31d195765c346542a7b861170ec18015f0e7fb548176049c13a4a200a30b40db) 3 (This answer is not useful) (70:3:31e,16:7390e0ca795c9baa,10:1725245692,16:d55003554f0f116b,8:58936193,dfc9a87990fa9ce71c268f7de918a09b352f6af8ed5d94fe2f2a2ce6d0239b63) Save this answer. (Loading when this answer was accepted…) (/posts/58936193/timeline) Show activity on this post. I spent a lot of time on this issue. the problem is that due the volume on the web service. I got the issue, because, I was docker-machine to deploy my app. Docker is using is using the volume which it does not find in the remote machine. Run the following to erase containers and volumes, which is the simple way to get rid of the issue. docker-compose down -v NB : Be cautious with the above command. Because, it delete all volume, therefore all the data you have on them. The solution I use consists of docker a different docker-file and not adding volume to the web service. (/a/58936193) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/4.0/) (The current license for this post: CC BY-SA 4.0) CC BY-SA 4.0 (/posts/58936193/edit) () Improve this answer Follow (70:3:31e,16:77801c06be2abe5a,10:1725245692,16:60986f8e53c5fd0d,8:58936193,19ab1aa804a0f982bbe9f126a4921235e0cdd67d34c4416ec1193a6949fe34a5) Follow this answer to receive notifications (/posts/58936193/revisions) (show all edits to this post) edited (2019-11-19 14:46:27Z) Nov 19, 2019 at 14:46 answered (2019-11-19 14:21:28Z) Nov 19, 2019 at 14:21 (/users/8074342/thierno) (thierno's user avatar) (/users/8074342/thierno) thierno thierno (reputation score) 934 (11 silver badges) 11 11 silver badges (10 bronze badges) 10 10 bronze badges 1 Removing the volume did it for me, great catch. – (/users/7819995/mitsakos) (244 reputation) Mitsakos Commented (2021-10-25 17:07:05Z, License: CC BY-SA 4.0) Oct 25, 2021 at 17:07 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) (52942913) (false) () Your Answer Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. (/help/gen-ai-policy) Learn more (true) Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question . Provide details and share your research! But avoid … Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our (/help/how-to-answer) tips on writing great answers . Draft saved Draft discarded (e2a58aec89e0105273f31cf44dffd45d868462dc661de60a7d67e669a7370ceb) Sign up or (/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f52942913%2fdocker-compose-docker-entrypoint%23new-answer) log in Sign up using Google Sign up using Email and Password (false) (false) Submit Post as a guest Name () () Email Required, but never shown () () Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy .(1) Not the answer you're looking for? Browse other questions tagged (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/docker-compose) (show questions tagged 'docker-compose') docker-compose or (/questions/ask) ask your own question . The Overflow Blog (https://stackoverflow.blog/2024/08/30/mobile-observability-open-telemetry-embrace-ios-android-austin-emmons/?cb=1) (Mobile Observability: monitoring performance through cracked screens, old batteries, and crappy Wi-Fi) Mobile Observability: monitoring performance through cracked screens, old... Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/401324/announcing-a-change-to-the-data-dump-process?cb=1) Announcing a change to the data-dump process (Meta Stack Exchange) (https://meta.stackexchange.com/questions/402121/bringing-clarity-to-status-tag-usage-on-meta-sites?cb=1) Bringing clarity to status tag usage on meta sites (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431331/what-does-a-new-user-need-in-a-homepage-experience-on-stack-overflow?cb=1) What does a new user need in a homepage experience on Stack Overflow? (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431399/staging-ground-reviewer-motivation?cb=1) Staging Ground Reviewer Motivation (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/431273/feedback-requested-how-do-you-use-tag-hover-descriptions-for-curating-and-do-yo?cb=1) (Feedback requested: How do you use tag hover descriptions for curating and do you use the RSS feed feature?) Feedback requested: How do you use tag hover descriptions for curating and do... Linked (https://stackoverflow.com/q/73168693?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/73168693/docker-compose-up-build-hang-at-chown-in-entrypoint-without-error-how-to-reso?noredirect=1&lq=1) docker-compose up --build hang at chown in entrypoint without error. How to resolve? Related (https://stackoverflow.com/q/38562386?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/38562386/docker-compose-v2-volume-container?rq=3) docker_compose v2 volume container (https://stackoverflow.com/q/44848721?rq=3) (Question score (upvotes - downvotes)) 10 (https://stackoverflow.com/questions/44848721/docker-compose-inside-docker-in-a-docker?rq=3) docker compose inside docker in a docker (https://stackoverflow.com/q/49470695?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/49470695/docker-entrypoint-doesnt-find-command?rq=3) Docker entrypoint doesn't find command (https://stackoverflow.com/q/52774590?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/52774590/dockerfile-entrypoint-conflicts-with-docker-compose-context?rq=3) Dockerfile entrypoint conflicts with docker-compose context (https://stackoverflow.com/q/52938508?rq=3) (Question score (upvotes - downvotes)) 6 (https://stackoverflow.com/questions/52938508/docker-compose-command?rq=3) Docker-Compose + Command (https://stackoverflow.com/q/54160315?rq=3) (Question score (upvotes - downvotes)) 31 (https://stackoverflow.com/questions/54160315/docker-compose-entrypoint-command?rq=3) Docker-Compose Entrypoint/Command (https://stackoverflow.com/q/60512550?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/60512550/docker-compose-entry-point-file?rq=3) Docker Compose Entry Point File (https://stackoverflow.com/q/62823390?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/62823390/docker-compose-file?rq=3) Docker-Compose File (https://stackoverflow.com/q/64465543?rq=3) (Question score (upvotes - downvotes)) 3 (https://stackoverflow.com/questions/64465543/docker-compose-entrypoint-with-multiple-or-multiline-commands?rq=3) docker-compose entrypoint with multiple or multiline commands (https://stackoverflow.com/q/69961176?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/69961176/when-running-docker-compose-it-doesnt-do-as-docker-entrypoint-sh-instructs?rq=3) when running docker-compose it doesn't do as docker-entrypoint.sh instructs (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Open Source Stack Exchange) (https://opensource.stackexchange.com/questions/15009/who-owns-code-contributed-to-a-license-free-repository) Who owns code contributed to a license-free repository? (English Language Learners Stack Exchange) (https://ell.stackexchange.com/questions/356728/what-does-this-translated-phrase-convey-the-heart-refuses-to-obey) What does this translated phrase convey "The heart refuses to obey."? (Ask Ubuntu) (https://askubuntu.com/questions/1525146/how-do-i-backup-only-changed-files-on-an-external-hard-drive) How do I backup only changed files on an external hard drive? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/261344/world-building-knowledgebase-how-to-write-good-military-world-building) World Building Knowledgebase - How to write good Military World Building (Travel Stack Exchange) (https://travel.stackexchange.com/questions/191100/do-passengers-transiting-in-yvr-vancouver-from-international-to-us-go-through) Do passengers transiting in YVR (Vancouver) from international to US go through Canadian immigration? (Cryptography Stack Exchange) (https://crypto.stackexchange.com/questions/112802/which-hash-algorithms-support-binary-input-of-arbitrary-bit-length) Which hash algorithms support binary input of arbitrary bit length? (Code Review Stack Exchange) (https://codereview.stackexchange.com/questions/293552/determining-error-rate-of-phase-shift-keying-via-monte-carlo-simulation) Determining Error Rate of Phase Shift Keying via Monte Carlo Simulation (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/261316/how-much-easier-harder-would-it-be-to-colonize-space-if-humans-found-a-method-of) How much easier/harder would it be to colonize space if humans found a method of giving ourselves bodies that could survive in almost anything? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/213213/does-gravity-well-work-with-blade-ward) Does Gravity Well work with Blade Ward? (Geographic Information Systems Stack Exchange) (https://gis.stackexchange.com/questions/485437/displaying-photo-stored-as-blob-in-gpkg-in-qgis-layout) Displaying photo stored as blob in GPKG in QGIS layout (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725531/how-to-frame-certain-cells-with-tabular) How to frame certain cells with tabular? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/261308/what-is-the-highest-apogee-of-a-satellite-in-earth-orbit) What is the highest apogee of a satellite in Earth orbit? (Law Stack Exchange) (https://law.stackexchange.com/questions/104742/is-a-company-liable-for-potential-harms) Is a company liable for "potential" harms? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/724025/why-are-ic-and-ie-different-arent-the-two-1k-ohm-resistors-in-series-and-thus) Why are IC and IE different? Aren't the two 1k ohm resistors in series and thus the current through them should be the same? (Super User) (https://superuser.com/questions/1854231/why-is-gparted-distributed-as-an-iso-image-is-it-to-accommodate-linux-needs-as) Why is GParted distributed as an ISO image? Is it to accommodate Linux needs as well as Windows needs? (Android Enthusiasts Stack Exchange) (https://android.stackexchange.com/questions/258229/how-to-beep-in-termux) How to beep in Termux? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/213201/held-action-sneak-attack-after-action-surge) Held Action Sneak attack after action surge (Academia Stack Exchange) (https://academia.stackexchange.com/questions/213258/my-supervisor-wants-me-to-switch-to-another-software-programming-language-that-i) My supervisor wants me to switch to another software/programming language that I am not proficient in. What to do? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/826220/is-the-spectrum-of-hawking-radiation-identical-to-that-of-thermal-radiation) Is the spectrum of Hawking radiation identical to that of thermal radiation? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/213208/does-a-held-action-have-to-be-an-action) Does a held action have to be an action? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/291246/what-story-starts-off-with-the-character-waking-up-in-a-battlefield-with-wolves) What story starts off with the character waking up in a battlefield with wolves and vultures and snow? (Ask Ubuntu) (https://askubuntu.com/questions/1525051/does-it-pay-to-put-effort-in-fixing-this-problem-or-better-reinstall-ubuntu-24-0) Does it pay to put effort in fixing this problem or better reinstall Ubuntu 24.04 from scratch? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/725548/how-to-set-the-option-top-in-tcb-only-in-first-breakable-part-in-pikachu-tcolo) How to set the option `top' in tcb only in first breakable part in PikaChu tcolorbox? (Travel Stack Exchange) (https://travel.stackexchange.com/questions/191103/duties-when-bringing-canadian-goods-to-us-in-luggage) Duties when bringing Canadian goods to US in luggage (/feeds/question/52942913) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/52942913) () lang-yaml (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Cookie Settings (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2024 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2024.8.29.14628 By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our (https://stackoverflow.com/legal/cookie-policy) Cookie Policy . Accept all cookies Necessary cookies only Customize settings