dockerfile - resolv.conf seems to always be wrong when building Docker container - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (https://stackoverflow.com/opensearch.xml) (https://stackoverflow.com/questions/71245154/resolv-conf-seems-to-always-be-wrong-when-building-docker-container) (Feed for question 'resolv.conf seems to always be wrong when building Docker container') (https://stackoverflow.com/feeds/question/71245154) (site logo) By clicking “Sign up”, 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 . Sign up with Google Sign up with GitHub OR Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (https://stackoverflow.com/users/login) Log in Skip to main content (https://stackoverflow.com/) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/) For Teams (Search…) (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f71245154%2fresolv-conf-seems-to-always-be-wrong-when-building-docker-container) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f71245154%2fresolv-conf-seems-to-always-be-wrong-when-building-docker-container) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) Next You’ll be prompted to create an account to view your personalized homepage. (https://stackoverflow.com/) Home (https://stackoverflow.com/questions) Questions (https://stackoverflow.ai/) AI Assist Labs (https://stackoverflow.com/tags) Tags (https://stackoverflow.com/beta/challenges) Challenges (https://chat.stackoverflow.com/rooms/259507/stack-overflow-lobby) Chat (https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles) Articles (https://stackoverflow.com/users) Users (https://stackoverflow.com/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (https://stackoverflow.com/collectives-all) Explore all Collectives Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams (Illustration of upvote icon after it is clicked) Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can save this post to reference later. Save this post for later Not now (Illustration of upvote icon after it is clicked) Thanks for your vote! You now have 5 free votes weekly. Free votescount toward the total vote score does not give reputation to the author Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges, (https://stackoverflow.com/help/whats-reputation) earn reputation . Got it! Go to help center to learn more (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://stackoverflow.com/questions/71245154/resolv-conf-seems-to-always-be-wrong-when-building-docker-container) resolv.conf seems to always be wrong when building Docker container (https://stackoverflow.com/questions/ask) Ask Question (2022-02-23 23:17:31Z) Asked 3 years, 7 months ago Modified (https://stackoverflow.com/questions/71245154/resolv-conf-seems-to-always-be-wrong-when-building-docker-container?lastactivity) (2022-02-24 21:52:49Z) 3 years, 7 months ago (Viewed 12,141 times) Viewed 12k times This question shows research effort; it is useful and clear 5 (This question does not show any research effort; it is unclear or not useful) Save this question. (https://stackoverflow.com/posts/71245154/timeline) Show activity on this post. I am attempting to write Dockerfile instructions to use yum and install a few packages. When I run my build command, I will always get an error... (28, 'Resolving timed out after 5000 milliseconds' ) ... due to the lack of network access. I have compared my host and container /etc/resolv.conf , and noticed they were different. Example (Host) # Generated by expressvpn search expressvpn nameserver 10.53.0.1 Example (Container) search expressvpn nameserver 10.1.2.3 nameserver 8.8.8.8 I attempted copying the host /etc/resolv.conf and overwriting the container /etc/resolv.conf as follows $ echo "# Generated by expressvpn > search expressvpn > nameserver 10.53.0.1" > "/etc/resolv.conf" Then immediately gained network access again and was able to use yum . However, if I try reading the Dockerfile with a build command, it does not seem to work anymore. How do I make docker use the host resolv.conf on build or resolve this issue correctly? It seemed to not have an issue with my VPN before. Is that the issue now? (https://stackoverflow.com/questions/tagged/docker) (show questions tagged 'docker') docker (https://stackoverflow.com/questions/tagged/dockerfile) (show questions tagged 'dockerfile') dockerfile (https://stackoverflow.com/questions/tagged/network-programming) (show questions tagged 'network-programming') network-programming (https://stackoverflow.com/questions/tagged/vpn) (show questions tagged 'vpn') vpn (https://stackoverflow.com/questions/tagged/yum) (show questions tagged 'yum') yum (https://stackoverflow.com/q/71245154) (Short permalink to this question) Share (https://stackoverflow.com/posts/71245154/edit) Improve this question Follow Follow this question to receive notifications asked (2022-02-23 23:17:31Z) Feb 23, 2022 at 23:17 (https://stackoverflow.com/users/11302449/volksrat71) (VolksRat71's user avatar) (https://stackoverflow.com/users/11302449/volksrat71) VolksRat71 VolksRat71 (reputation score) 125 (1 gold badge) 1 1 gold badge (4 silver badges) 4 4 silver badges (14 bronze badges) 14 14 bronze badges 4 Have you tried restarting the docker engine after connecting the VPN? BMitch – (https://stackoverflow.com/users/596285/bmitch) (270,069 reputation) BMitch 2022-02-24 00:14:44 +00:00 Commented (2022-02-24 00:14:44Z, License: CC BY-SA 4.0) Feb 24, 2022 at 0:14 The VPN connection command is built into the host startup sequence. Then I run the command to start the docker engine manually. VolksRat71 – (https://stackoverflow.com/users/11302449/volksrat71) (125 reputation) VolksRat71 2022-02-24 00:19:29 +00:00 Commented (2022-02-24 00:19:29Z, License: CC BY-SA 4.0) Feb 24, 2022 at 0:19 Have you configured DNS settings on the docker engine. Either in /etc/docker/daemon.json or with CLI flags? BMitch – (https://stackoverflow.com/users/596285/bmitch) (270,069 reputation) BMitch 2022-02-24 00:37:31 +00:00 Commented (2022-02-24 00:37:31Z, License: CC BY-SA 4.0) Feb 24, 2022 at 0:37 You pointed me in the right direction. I will have to manually configure my /etc/docker/daemon.json when I restart my host or change any VPN settings, but I am back in business with at least testing! VolksRat71 – (https://stackoverflow.com/users/11302449/volksrat71) (125 reputation) VolksRat71 2022-02-24 21:29:32 +00:00 Commented (2022-02-24 21:29:32Z, License: CC BY-SA 4.0) Feb 24, 2022 at 21:29 (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) 2 Answers 2 Sorted by: (https://stackoverflow.com/questions/71245154/resolv-conf-seems-to-always-be-wrong-when-building-docker-container?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 3 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/71258651/timeline) Show activity on this post. I was able to at least get my docker to build the containers by taking the same naming conventions used in the (https://docs.docker.com/engine/reference/commandline/dockerd/) Docker Daemon CLI options and applying them to a /etc/docker/daemon.json manually, then restarting the Docker Daemon. Read the host /etc/resolv.config (Yours will likely be different) $ cat /etc/resolv.config # Generated by expressvpn search expressvpn nameserver 10.53.0.1 Make a new, or use the /etc/docker/daemon.json (I had to use Super User to write the file) $ sudo touch /etc/docker/daemon.json Use the Daemon file to manually set the Virtual Network to the host /etc/resolv.conf output as described in #1 (Again yours is likely to be different). You can find the different options (https://docs.docker.com/engine/reference/commandline/dockerd/) here just use the CLI options as keys and arrays with strings as values. { "dns" : [ "10.53.0.1" ] , "dns-search" : [ "expressvpn" ] } Hard stop all docker processing $ sudo ps axf | grep docker | grep -v grep | awk '{print "kill -9 " $1}' | sudo sh Restart Docker Daemon $ sudo dockerd This is not the most elegant solution, but I was able to at least get my Docker to build the Container and continue on with my work. (https://stackoverflow.com/a/71258651) (Short permalink to this answer) Share (https://stackoverflow.com/posts/71258651/edit) Improve this answer Follow Follow this answer to receive notifications (https://stackoverflow.com/posts/71258651/revisions) (show all edits to this post) edited (2022-02-24 21:52:49Z) Feb 24, 2022 at 21:52 (https://stackoverflow.com/users/1839439/dharman) (Dharman's user avatar) (https://stackoverflow.com/users/1839439/dharman) Dharman (Moderator) ♦ (reputation score 33,905) 33.9k (27 gold badges) 27 27 gold badges (103 silver badges) 103 103 silver badges (153 bronze badges) 153 153 bronze badges answered (2022-02-24 21:47:18Z) Feb 24, 2022 at 21:47 (https://stackoverflow.com/users/11302449/volksrat71) (VolksRat71's user avatar) (https://stackoverflow.com/users/11302449/volksrat71) VolksRat71 VolksRat71 (reputation score) 125 (1 gold badge) 1 1 gold badge (4 silver badges) 4 4 silver badges (14 bronze badges) 14 14 bronze badges Sign up to request clarification or add additional context in comments. Comments Add a comment This answer is useful 2 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/71253455/timeline) Show activity on this post. Docker overrides the resolve.conf file so it matches the virtual network it is setting up. You may have an atypical network setup for your container that is screwing up Docker. There are two ways to automate the fix you came up with above: The --dns (https://docs.docker.com/config/containers/container-networking/) option in the command line should tell Docker how to properly create the resolve file how you want it. (https://unix.stackexchange.com/a/348406/234861) You can overwrite the resolve file at start. You can also try to figure out why Docker is getting screwed up, but that is a potentially much more complicated problem. (https://stackoverflow.com/a/71253455) (Short permalink to this answer) Share (https://stackoverflow.com/posts/71253455/edit) Improve this answer Follow Follow this answer to receive notifications answered (2022-02-24 14:24:38Z) Feb 24, 2022 at 14:24 (https://stackoverflow.com/users/1987437/liam-kelly) (Liam Kelly's user avatar) (https://stackoverflow.com/users/1987437/liam-kelly) Liam Kelly Liam Kelly (reputation score) 3,724 (2 gold badges) 2 2 gold badges (24 silver badges) 24 24 silver badges (53 bronze badges) 53 53 bronze badges 2 Comments Add a comment (https://stackoverflow.com/users/11302449/volksrat71) VolksRat71 (https://stackoverflow.com/users/11302449/volksrat71) VolksRat71 (2022-02-24T21:31:10.39Z) Over a year ago (Edited 1 time) I configured the --dns when I start dockerd with a /etc/docker/daemon.json , you helped quite a lot! Thank you! 2022-02-24T21:31:10.39Z+00:00 0 Reply (https://stackoverflow.com/users/1987437/liam-kelly) Liam Kelly (https://stackoverflow.com/users/1987437/liam-kelly) Liam Kelly (2022-02-25T16:12:05.467Z) Over a year ago @VolksRat71 no problem, click the checkmark next to this answer to mark it as correct. 2022-02-25T16:12:05.467Z+00:00 0 Reply Your Answer Draft saved Draft discarded Sign up or (https://stackoverflow.com/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f71245154%2fresolv-conf-seems-to-always-be-wrong-when-building-docker-container%23new-answer) log in Sign up using Google Sign up using Email and Password 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 . Start asking to get answers Find the answer to your question by asking. (https://stackoverflow.com/questions/ask) Ask question Explore related questions (https://stackoverflow.com/questions/tagged/docker) (show questions tagged 'docker') docker (https://stackoverflow.com/questions/tagged/dockerfile) (show questions tagged 'dockerfile') dockerfile (https://stackoverflow.com/questions/tagged/network-programming) (show questions tagged 'network-programming') network-programming (https://stackoverflow.com/questions/tagged/vpn) (show questions tagged 'vpn') vpn (https://stackoverflow.com/questions/tagged/yum) (show questions tagged 'yum') yum See similar questions with these tags. The Overflow Blog (https://stackoverflow.blog/2025/10/08/a-new-look-for-comments/?cb=1) A new look for comments (https://stackoverflow.blog/2025/10/09/who-watches-the-watchers-llm-on-llm-evaluations/?cb=1) Who watches the watchers? LLM on LLM evaluations Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/412987/please-welcome-v2blast-back-to-the-community-team?cb=1) Please welcome V2Blast back to the Community Team! (Meta Stack Exchange) (https://meta.stackexchange.com/questions/412992/a-first-look-stack-overflow-redesign?cb=1) A First Look: Stack Overflow Redesign (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/435121/exploring-new-types-of-questions-on-stack-overflow?cb=1) Exploring new types of questions on Stack Overflow Community activity Last 1 hr Users online activity 13556 users online Number of questions asked 31 questions Number of questions that received an answer 24 answers Number of comments posted 87 comments Number of upvotes on posts 341 upvotes Popular tags Popular tags (https://stackoverflow.com/questions/tagged/java) java (https://stackoverflow.com/questions/tagged/javascript) javascript (https://stackoverflow.com/questions/tagged/ios) ios (https://stackoverflow.com/questions/tagged/python) python (https://stackoverflow.com/questions/tagged/c#) c# (https://stackoverflow.com/questions/tagged/c++) c++ Popular unanswered question Popular unanswered question (https://stackoverflow.com/questions/79786610) R package loading error - .onAttach failed in attachNamespace() (https://stackoverflow.com/questions/tagged/r) r (https://stackoverflow.com/questions/tagged/error-handling) error-handling (https://stackoverflow.com/users/31658797) (User avatar) (https://stackoverflow.com/users/31658797) Micah Pavlidis 1 (Thursday, October 9, 2025 at 3:48:50 PM UTC) 4 hours ago Related (https://stackoverflow.com/questions/29099276/build-docker-behind-vpn?rq=3) (Question score (upvotes - downvotes)) 19 (https://stackoverflow.com/questions/29099276/build-docker-behind-vpn?rq=3) Build docker behind VPN (https://stackoverflow.com/questions/32352540/hostname-resolution-fails-when-running-docker-build-from-a-docker-container?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/32352540/hostname-resolution-fails-when-running-docker-build-from-a-docker-container?rq=3) Hostname resolution fails when running docker build from a docker container (https://stackoverflow.com/questions/41032744/unable-to-edit-etc-resolv-conf-in-docker-container?rq=3) (Question score (upvotes - downvotes)) 18 (https://stackoverflow.com/questions/41032744/unable-to-edit-etc-resolv-conf-in-docker-container?rq=3) unable to edit /etc/resolv.conf in docker container (https://stackoverflow.com/questions/41243665/docker-compose-does-not-update-resolv-conf?rq=3) (Question score (upvotes - downvotes)) 14 (https://stackoverflow.com/questions/41243665/docker-compose-does-not-update-resolv-conf?rq=3) docker-compose does not update resolv.conf (https://stackoverflow.com/questions/42265346/dns-resolution-with-the-container?rq=3) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/42265346/dns-resolution-with-the-container?rq=3) DNS resolution with the container (https://stackoverflow.com/questions/43907206/docker-container-dns-resolution?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/43907206/docker-container-dns-resolution?rq=3) Docker Container DNS resolution (https://stackoverflow.com/questions/45732627/different-dns-entries-in-docker-container-than-host?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/45732627/different-dns-entries-in-docker-container-than-host?rq=3) Different dns entries in docker container than host (https://stackoverflow.com/questions/62050860/docker-dns-configuration-is-not-updated-after-connecting-to-vpn?rq=3) (Question score (upvotes - downvotes)) 18 (https://stackoverflow.com/questions/62050860/docker-dns-configuration-is-not-updated-after-connecting-to-vpn?rq=3) docker DNS configuration is not updated after connecting to VPN (https://stackoverflow.com/questions/62968807/dns-resolution-in-docker-containers?rq=3) (Question score (upvotes - downvotes)) 25 (https://stackoverflow.com/questions/62968807/dns-resolution-in-docker-containers?rq=3) DNS resolution in docker containers (https://stackoverflow.com/questions/63259263/docker-not-working-with-a-vpn-due-to-network-issues?rq=3) (Question score (upvotes - downvotes)) 25 (https://stackoverflow.com/questions/63259263/docker-not-working-with-a-vpn-due-to-network-issues?rq=3) Docker not working with a VPN due to network issues (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/756732/bss84-mosfet-shorting-between-gate-and-source-or-source-and-drain) BSS84 mosfet shorting between gate and source or source and drain (Super User) (https://superuser.com/questions/1926389/is-there-a-shortcut-in-windows-11-to-enter-emoji-modifier-sequence-characters-us) Is there a shortcut in Windows 11 to enter Emoji Modifier Sequence characters using Unicode codepoint values? (Code Review Stack Exchange) (https://codereview.stackexchange.com/questions/298313/reservation-app-in-c-with-linked-list-bst-and-csv) Reservation app in C with linked list, BST, and CSV (German Language Stack Exchange) (https://german.stackexchange.com/questions/80786/an-etwas-d-festhalten-vs-sich-an-etwas-d-festhalten) an etwas (D) festhalten vs. sich an etwas (D) festhalten (Software Engineering Stack Exchange) (https://softwareengineering.stackexchange.com/questions/459279/single-or-multiple-use-cases-for-alternative-actions-in-the-same-flow) Single or multiple use cases for alternative actions in the same flow? (Politics Stack Exchange) (https://politics.stackexchange.com/questions/93710/do-any-modern-right-wing-movements-declare-themselves-anti-capitalist-or-anti-li) Do any modern right-wing movements declare themselves anti-capitalist or anti-liberalism? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/756724/how-can-i-convert-a-progressive-hdmi-signal-e-g-720x576p-to-an-interlaced-pa) How can I convert a progressive HDMI signal (e.g., 720x576p) to an interlaced PAL (576i) output using external hardware? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5100744/on-the-cardinality-of-cartesian-product-of-infinite-sets) On the cardinality of Cartesian product of infinite sets (English Language Learners Stack Exchange) (https://ell.stackexchange.com/questions/368701/is-know-how-color-a-common-expression-or-the-authors-stylistic-device) Is "know-how color" a common expression or the author's stylistic device? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/860496/is-the-weather-intrinsically-chaotic) Is the weather intrinsically chaotic? (Music: Practice & Theory Stack Exchange) (https://music.stackexchange.com/questions/141553/how-accurate-are-recordings-when-it-comes-to-standard-concert-pitch) How accurate are recordings when it comes to standard concert pitch? (Mathematica Stack Exchange) (https://mathematica.stackexchange.com/questions/315627/plotting-contours-of-signed-distance-function-slow-and-returning-maxnord-error) Plotting contours of signed distance function slow and returning Max::nord error (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/756714/metronome-circuit-with-npn-collector-tied-to-pnp-base) Metronome circuit with NPN collector tied to PNP base (Writing Stack Exchange) (https://writing.stackexchange.com/questions/71894/i-am-trying-to-describe-a-conjecture-about-twin-primes-should-i-define-what-a) I am trying to describe a conjecture about "twin primes". Should I define what a twin prime is first or after I describe the conjecture? (Mathematica Stack Exchange) (https://mathematica.stackexchange.com/questions/315616/problem-with-a-function-calling-another-function) Problem with a function calling another function (Travel Stack Exchange) (https://travel.stackexchange.com/questions/200383/what-happens-to-my-childs-suica-pasmo-when-they-turn-12) What happens to my child's Suica/Pasmo when they turn 12? (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/633404/whats-the-english-equivalent-of-the-norwegian-word-fagleder) What's the English equivalent of the Norwegian word "fagleder"? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/299518/when-was-doctor-who-shown-on-doctor-who) When was Doctor Who shown on Doctor Who? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/860413/why-1st-law-of-thermodynamics-is-applied-to-cosmological-expansion) Why 1st law of thermodynamics is applied to cosmological expansion? (User Experience Stack Exchange) (https://ux.stackexchange.com/questions/154068/best-practice-for-showing-similar-existing-items-in-a-create-new-dialog-to-pre) Best practice for showing similar/existing items in a "Create New" dialog to prevent duplicates? (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/800315/awk-print-the-leading-part-of-a-matching-pattern-with-back-references) awk - print the leading part of a matching pattern with back references (MathOverflow) (https://mathoverflow.net/questions/501394/examples-of-differential-topology-methods-yielding-new-insights-in-algebraic-top) Examples of differential topology methods yielding new insights in algebraic topology (Aviation Stack Exchange) (https://aviation.stackexchange.com/questions/111465/can-streamlining-achieve-low-temperatures-in-a-reentry-vehicle) Can streamlining achieve low temperatures in a reentry vehicle? (Code Golf Stack Exchange) (https://codegolf.stackexchange.com/questions/284032/compute-the-nfl-passer-rating) Compute the NFL passer rating (https://stackoverflow.com/feeds/question/71245154) (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/71245154) () Why are you flagging this comment? (45) Probable spam. This comment promotes a product, service or website while (https://stackoverflow.com/help/promotion) failing to disclose the author's affiliation . (20) Unfriendly or contains harassment/bigotry/abuse. This comment is unkind, insulting or attacks another person or group. Learn more in our (https://stackoverflow.com/conduct/abusive-behavior) Code of Conduct . (39) Not needed. This comment is not relevant to the post. (19) Something else. A problem not listed above. Try to be as specific as possible. Flag comment Cancel You have 0 flags left today (GPP Locator) (https://stackoverflow.com/) (https://stackoverflow.com/) Stack Overflow (https://stackoverflow.com/questions) Questions (https://stackoverflow.com/help) Help (https://chat.stackoverflow.com/?tab=explore) 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 (https://stackoverflow.com/contact) Contact Us Your Privacy Choices (https://policies.stackoverflow.co/stack-overflow/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 © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.10.9.35104 By continuing to use this website, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our (https://policies.stackoverflow.co/stack-overflow/cookie-policy/) Cookie Policy . By exiting this window, default cookies will be accepted. To reject cookies, select an option from below. Necessary cookies only Customize settings