Docker Repository Does Not Have a Release File on Running apt-get update on Ubuntu - 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/41133455/docker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun) (https://cdn.sstatic.net/Shared/stacks.css?v=d6a266655a25) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=22fb2cb11723) (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 . (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) (1) (2.0) Sign up with Google Sign up with GitHub OR (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (80823973848d5aac2ae197737f179bc4b30ac67c67491815ce58aee3b012cf60) () 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%2f41133455%2fdocker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f41133455%2fdocker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun) 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%2f41133455%2fdocker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f41133455%2fdocker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun) 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) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe azure firebase list docker multithreading vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework android-studio csv maven linq qt dictionary unit-testing asp.net-core facebook tensorflow apache-spark file swing class unity-game-engine sorting date authentication go symfony t-sql opencv matplotlib .htaccess google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github spring-mvc elasticsearch kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers google-sheets machine-learning c++11 security google-apps-script flask ruby-on-rails-3 templates nginx variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous web-scraping pdf haskell jsp ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation math next.js svg session hadoop intellij-idea curl django-models rust join winapi laravel-5 url heroku http-redirect tomcat google-cloud-firestore inheritance webpack keras image-processing gcc asp.net-mvc-4 logging dom swiftui web matrix pyspark actionscript-3 button post optimization firebase-realtime-database jquery-ui iis cocoa xpath d3.js javafx firefox internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr magento encryption search stored-procedures amazon-ec2 ruby-on-rails-4 memory audio canvas multidimensional-array jsf random vector redux cookies input facebook-graph-api flash xamarin.forms indexing arraylist ipad cocoa-touch data-structures video apache-kafka model-view-controller serialization jdbc woocommerce azure-devops routes razor awk servlets mod-rewrite beautifulsoup excel-formula docker-compose filter iframe aws-lambda design-patterns text django-rest-framework visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox ecmascript-6 google-chrome-extension time grails installation sharepoint cmake shiny spring-security jakarta-ee android-recyclerview plsql core-data types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit boost deep-learning sass import memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts layout apache-spark-sql deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins makefile c#-4.0 redis reporting-services jupyter-notebook merge server unicode https reflection google-maps-api-3 twitter oauth-2.0 extjs pytorch axios terminal pip split cmd mysqli encoding django-views automation database-design collections hash netbeans build data-binding ember.js tcp sqlalchemy pdo apache-flex concurrency entity-framework-core command-line spring-data-jpa printing react-redux java-8 jestjs service html-table neo4j lua ansible material-ui parameters module enums flexbox visual-studio-2012 promise outlook firebase-authentication webview web-applications uwp jquery-mobile utf-8 datatable python-requests parallel-processing drop-down-menu colors scroll hive scipy tfs count syntax ms-word twitter-bootstrap-3 ssis google-analytics fonts three.js powerbi rxjs constructor graphql file-io paypal discord cassandra socket.io graphics compiler-errors gwt react-router nlp solr url-rewriting backbone.js memory-leaks datatables oauth terraform datagridview drupal oracle11g zend-framework neural-network knockout.js triggers django-forms interface google-api angular-material casting jmeter linked-list path proxy timer django-templates arduino orm directory parse-platform visual-studio-2015 windows-phone-7 cron push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview gitlab visual-studio-2013 vbscript google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 configuration process rspec pygame properties combobox callback windows-phone-8 linux-kernel safari permissions scrapy raspberry-pi scripting emacs clojure x86 scope io compilation expo mongodb-query responsive-design nhibernate angularjs-directive azure-functions request bluetooth dns 3d binding reference architecture discord.js playframework pyqt version-control doctrine-orm package get rubygems sql-server-2012 f# autocomplete openssl datepicker kendo-ui tree jackson controller yii pycharm grep nested xamarin.ios static dockerfile statistics transactions null datagrid active-directory uiviewcontroller webforms phpmyadmin discord.py notifications sas computer-vision duplicates mocking youtube nullpointerexception yaml menu sum bitmap blazor asp.net-mvc-5 electron visual-studio-2008 time-series yii2 jsf-2 css-selectors stl android-listview floating-point cryptography ant stream hashmap character-encoding msbuild sdk asp.net-core-mvc google-drive-api selenium-chromedriver jboss joomla cors navigation devise anaconda background camera multiprocessing pyqt5 binary cuda frontend linq-to-sql iterator mariadb onclick plotly ios7 rabbitmq android-jetpack-compose android-asynctask microsoft-graph-api tabs laravel-4 insert uicollectionview environment-variables amazon-dynamodb linker xsd console coldfusion upload continuous-integration ftp textview opengl-es vuejs3 operating-system mockito macros localization formatting xml-parsing json.net kivy type-conversion data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext firebase-cloud-messaging header fortran sprite-kit mfc attributes nuxt.js azure-pipelines nosql format nestjs odoo db2 jquery-plugins jenkins-pipeline leaflet event-handling flutter-layout annotations postman julia keyboard textbox arm visual-studio-2017 gulp libgdx stripe-payments synchronization xampp crystal-reports timezone dom-events uikit azure-web-app-service android-emulator swagger wso2 sequelize.js namespaces aggregation-framework uiscrollview jvm google-sheets-formula chart.js com subprocess geolocation centos webdriver snowflake-cloud-data-platform html5-canvas garbage-collection widget dialog numbers concatenation sql-update qml set tuples windows-10 java-stream smtp mapreduce ionic2 rotation modal-dialog spring-data android-edittext http-headers nuget doctrine radio-button sonarqube grid lucene xmlhttprequest internationalization listbox initialization switch-statement components google-play apache-camel boolean serial-port ldap ios5 youtube-api gdb return latex pivot eclipse-plugin frameworks tags containers github-actions dataset asp-classic label subquery foreign-keys c++17 copy uinavigationcontroller delegates google-cloud-storage migration struts2 base64 protractor find sql-server-2008-r2 queue embedded uibutton arguments composer-php append jaxb zip stack cucumber autolayout ide entity-framework-6 popup iteration tailwind-css airflow windows-7 r-markdown ssl-certificate vb6 gmail hover jqgrid g++ udp range Next You’ll be prompted to create an account to view your personalized homepage. (/) Home (/questions) Questions (/tags) Tags (/beta/discussions) Discussions Labs (https://chat.stackoverflow.com/?tab=all&sort=active) Chat (/users) Users (/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (/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 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 (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) Hang on, you can't downvote just yet. You'll need to complete a few actions and gain 125 reputation points before being able to downvote. Casting downvotes indicate issues with quality, effort, or accuracay of a post. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can try suggesting an edit to improve the post. Suggest edit No thanks (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/41133455/docker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun) Docker Repository Does Not Have a Release File on Running apt-get update on Ubuntu [closed] (/questions/ask) Ask Question (2016-12-14 01:40:33Z) Asked 8 years, 4 months ago Modified (?lastactivity) (2024-03-17 16:53:40Z) 1 year ago (Viewed 323,796 times) Viewed 324k times This question shows research effort; it is useful and clear (70:3:31e,16:897211e5c5894ada,10:1744767082,16:42404f13c8e632d5,8:41133455,3c9cd3ce979ae52c4a11f99fa526ee545b4dd16ee69e2f308383d7cd7d2e270d) 169 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:c1e74e9a6d7cd1cf,10:1744767082,16:f38d9c0d4e69e934,8:41133455,fe57dba4287759ec0a42c7ae32db218ec231493659ab35e4e8195c5d90071890) Save this question. (/posts/41133455/timeline) Show activity on this post. Closed. This question is (/help/closed-questions) not about programming or software development . It is not currently accepting answers. This question does not appear to be about (/help/on-topic) a specific programming problem, a software algorithm, or software tools primarily used by programmers . If you believe the question would be on-topic on (https://stackexchange.com/sites) another Stack Exchange site , you can leave a comment to explain where the question may be able to be answered. Closed (2023-02-16 15:05:18Z) 2 years ago . The community reviewed whether to reopen this question (2023-02-16 15:06:45Z) 2 years ago and left it closed: Original close reason(s) were not resolved (/posts/41133455/edit) Improve this question I am using Ubuntu 16.10 and recently installed Docker (v1.12.4) using the Xenial build by following the instructions found (https://docs.docker.com/engine/installation/linux/ubuntulinux/) here . I haven't encountered any problems creating containers, ensuring they restart automatically, etc. However, now every time I run apt-get update I receive the following error message: W: The repository 'https://apt.dockerproject.org/repo ubuntu-xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/binary-amd64/Packages E: Some index files failed to download. They have been ignored, or old ones used instead. I have tried to remedy the problem by following the advice found (https://github.com/docker/docker/issues/22599) here and cannot seem to solve this problem. Has anyone encountered this before and fixed it? If so, what is needed to resolve this? (/questions/tagged/ubuntu) (show questions tagged 'ubuntu') ubuntu (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/apt-get) (show questions tagged 'apt-get') apt-get (/q/41133455) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/41133455/edit) () Improve this question Follow (70:3:31e,16:5217d68b3d839df4,10:1744767082,16:44fd206ba8e2af8f,8:41133455,14d4b79d689e959ba1a3c01d0ed89f3b7cffc0ce705f6b2f02e5e49a4dfbf237) Follow this question to receive notifications asked (2016-12-14 01:40:33Z) Dec 14, 2016 at 1:40 (/users/1727203/daniel-eagle) (Daniel Eagle's user avatar) (/users/1727203/daniel-eagle) Daniel Eagle Daniel Eagle (reputation score) 2,375 (2 gold badges) 2 2 gold badges (19 silver badges) 19 19 silver badges (17 bronze badges) 17 17 bronze badges 5 (number of 'useful comment' votes received) 2 Please see if this helps - (http://askubuntu.com/questions/768569/ubuntu-16-04-update-manager-error/784977) (ubuntu 16 04 update manager error) askubuntu.com/questions/768569/… – (/users/1702943/rao) (21,419 reputation) Rao Commented (2016-12-14 02:12:16Z, License: CC BY-SA 3.0) Dec 14, 2016 at 2:12 @Rao, unfortunately this does not solve the problem. I'm still getting the same error message after removing the key, the source list entry, running apt-get update again, and then repeating the Docker installation steps. – (/users/1727203/daniel-eagle) (2,375 reputation) Daniel Eagle Commented (2016-12-14 02:49:06Z, License: CC BY-SA 3.0) Dec 14, 2016 at 2:49 @Rao, I figured out the solution and added the answer. However, the article you mentioned may be beneficial to others stumbling upon my question so +1. Cheers. – (/users/1727203/daniel-eagle) (2,375 reputation) Daniel Eagle Commented (2016-12-14 04:24:17Z, License: CC BY-SA 3.0) Dec 14, 2016 at 4:24 (number of 'useful comment' votes received) 1 In my case the answers below didn't help. My problem was I was using apt-cacher-ng that wasn't proxying https traffic. (https://github.com/moby/moby/issues/22599#issuecomment-404675734) github.com/moby/moby/issues/22599#issuecomment-404675734 – (/users/72717/jamshid) (1,775 reputation) jamshid Commented (2018-07-15 19:17:44Z, License: CC BY-SA 4.0) Jul 15, 2018 at 19:17 More details in this video (https://www.youtube.com/watch?v=PivpCKEiQOQ) youtube.com/watch?v=PivpCKEiQOQ – (/users/2494754/nvrm) (13,230 reputation) NVRM Commented (2025-02-14 18:28:55Z, License: CC BY-SA 4.0) Feb 14 at 18:28 (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) 18 Answers 18 Sorted by: (/questions/41133455/docker-repository-does-not-have-a-release-file-on-running-apt-get-update-on-ubun?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:54780ff85cfb7b1b,10:1744767082,16:da6b707b3ab8fb12,8:43639310,25ac2ff0339a0ac9775f9d0257f8e0a50fc8d0e220c2b6e0d430aa1f20dc5b7d) 153 (This answer is not useful) (70:3:31e,16:a6912269c441cab1,10:1744767082,16:c4599af7bdfc59a8,8:43639310,dbd4788256d1e7d06bec9ac5b503c410a9128008560028d46b9276df3f158bfa) Save this answer. (Loading when this answer was accepted…) (/posts/43639310/timeline) Show activity on this post. On Linux Mint, the official instructions did not work for me. I had to go into /etc/apt/sources.list.d/additional-repositories.list and change serena to xenial to reflect my Ubuntu codename. Depending on your Debian variant, version, and the original installation method followed, you may need to modify /etc/apt/sources.list.d/docker.list instead. You can typically find the appropriate codename by running one of a few different commands. In the following examples, focal is the codename: $ grep CODENAME /etc/os-release VERSION_CODENAME=focal UBUNTU_CODENAME=focal $ lsb_release -c Codename: focal # NOTE: On Ubuntu 20.04.2, /etc/os-release is symlinked to /usr/lib/os-release and # lsb_release reads from /usr/lib/os-release. Another simple way to install docker in Linux using the repository: # Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update According to docker (https://docs.docker.com/engine/install/debian/#install-using-the-repository) doc , I had to replace this $(. /etc/os-release && echo "$VERSION_CODENAME") with the latest stable debian release bookworm (/a/43639310) (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/43639310/edit) () Improve this answer Follow (70:3:31e,16:3fe97c953ce45f9e,10:1744767082,16:42b3690edf02afc3,8:43639310,cc8df9bab63e781933aac8a8ba6d1624bcb15e201f8d4dd349d3d2d5fe424076) Follow this answer to receive notifications (/posts/43639310/revisions) (show all edits to this post) edited (2024-03-17 16:53:40Z) Mar 17, 2024 at 16:53 (/users/3888628/ashraf-sarhan) (Ashraf Sarhan's user avatar) (/users/3888628/ashraf-sarhan) Ashraf Sarhan (reputation score) 1,717 (18 silver badges) 18 18 silver badges (24 bronze badges) 24 24 bronze badges answered (2017-04-26 16:03:43Z) Apr 26, 2017 at 16:03 (/users/681145/salami) (Salami's user avatar) (/users/681145/salami) Salami Salami (reputation score) 3,127 (4 gold badges) 4 4 gold badges (28 silver badges) 28 28 silver badges (35 bronze badges) 35 35 bronze badges 5 (number of 'useful comment' votes received) 2 Just a note, for some reason there was a docker line with trusty and another with serena in that file for me. Maybe I tried to go through this same process some time back and forgot about it. At any rate, I had to delete the trusty line, otherwise it complained about unresolvable dependencies. – (/users/372479/lobati) (10,235 reputation) lobati Commented (2018-03-25 15:50:07Z, License: CC BY-SA 3.0) Mar 25, 2018 at 15:50 (number of 'useful comment' votes received) 6 Thanks for directory sources.list.d reference. Fixed Ubuntu xenial issue with "sudo rm /etc/apt/sources.list.d/docker*" . Now apt-get update works finally. – (/users/3476441/andrew) (635 reputation) Andrew Commented (2019-06-01 16:31:42Z, License: CC BY-SA 4.0) Jun 1, 2019 at 16:31 (number of 'useful comment' votes received) 3 The same for Debian: replace "debian 10 stable" to "debian stretch stable" in file "/etc/apt/sources.list.d/docker.list" and it should work. – (/users/2491281/peschanko) (363 reputation) peschanko Commented (2019-08-30 20:41:15Z, License: CC BY-SA 4.0) Aug 30, 2019 at 20:41 (number of 'useful comment' votes received) 2 I had to change mine to bionic – (/users/7355232/jpthesolver2) (1,165 reputation) jpthesolver2 Commented (2020-06-16 03:33:35Z, License: CC BY-SA 4.0) Jun 16, 2020 at 3:33 This worked, But I had to add m to the link it was not working deb [arch=amd64] https://download.docker.co/linux/ubuntu bionic stable Notice there is a missing m in the docker.co it should be /docker.com/... – (/users/1460591/youans) (5,101 reputation) Youans Commented (2021-02-24 16:11:10Z, License: CC BY-SA 4.0) Feb 24, 2021 at 16:11 (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:cc3397b132ed4896,10:1744767082,16:b3cbeba20ae158a4,8:45881841,4ca98b812394bf093e46a929495f4acf0f0d5300e092651e851fa84611d8eafd) 104 (This answer is not useful) (70:3:31e,16:12e49269c50de95e,10:1744767082,16:d9bb963e42e92aff,8:45881841,cef213124f3a338c6253bcfd7db981bfaa87d2f2f326051ef94073893ed4ee7b) Save this answer. (Loading when this answer was accepted…) (/posts/45881841/timeline) Show activity on this post. For Linux Mint, this problem is actually referenced in the (https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository) Docker website : Note: The lsb_release -cs sub-command below returns the name of your Ubuntu distribution, such as xenial . Sometimes, in a distribution like Linux Mint, you might have to change $(lsb_release -cs) to your parent Ubuntu distribution. For example, if you are using Linux Mint Rafaela, you could use trusty. amd64: $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" The lsb_release -cs command gives a repository for which Docker has no prepared package - you must change it to xenial. The correct command for (https://en.wikipedia.org/wiki/Linux_Mint_version_history) Linux Mint 18 which is based on Ubuntu 16.04 Xenial is sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ xenial \ stable" (/a/45881841) (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/45881841/edit) () Improve this answer Follow (70:3:31e,16:c5cc1b5aaa9057e8,10:1744767082,16:3904dd3b784c4250,8:45881841,c9b5dd05cb25b92dec0a40e2aca6100d5325c11bec89a35224d5e8f37a0c8c00) Follow this answer to receive notifications (/posts/45881841/revisions) (show all edits to this post) edited (2020-03-10 10:49:53Z) Mar 10, 2020 at 10:49 (/users/1741690/sharpc) (SharpC's user avatar) (/users/1741690/sharpc) SharpC (reputation score) 7,484 (4 gold badges) 4 4 gold badges (52 silver badges) 52 52 silver badges (45 bronze badges) 45 45 bronze badges answered (2017-08-25 12:49:13Z) Aug 25, 2017 at 12:49 (/users/5749914/elliott-beach) (Elliott Beach's user avatar) (/users/5749914/elliott-beach) Elliott Beach Elliott Beach (reputation score 11,543) 11.5k (10 gold badges) 10 10 gold badges (32 silver badges) 32 32 silver badges (44 bronze badges) 44 44 bronze badges 3 (number of 'useful comment' votes received) 2 The command you have provided is the same as the one that exists on the docker site. However it does not work for me on ubuntu 16.04. The entry generated in sources.list is: deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable But still the same problem. I wish someone could explain why it cannot find Release inside https://download.docker.com/linux/ubuntu/dists/xenial/stable/binary-amd64/ . Sad: After so many years of using ubuntu I still can't figure out how things work with repository paths. – (/users/1555615/marinos-an) (11,010 reputation) Marinos An Commented (2018-06-26 08:46:20Z, License: CC BY-SA 4.0) Jun 26, 2018 at 8:46 This solved my issues getting things moving on the new WLinux distro also. – (/users/901899/rainabba) (4,287 reputation) rainabba Commented (2018-09-25 16:53:13Z, License: CC BY-SA 4.0) Sep 25, 2018 at 16:53 (number of 'useful comment' votes received) 1 This worked for me. Edit /etc/apt/sources.list.d/docker.list and edit deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu [CODENAME] stable so that you change [CODENAME] from your Linux Mint codename to the Ubuntu base package name. Confirm yours from the Linux Mint version website (https://linuxmint.com/download_all.php) here . For example, I'm running Linux Mint Vera that's based on Ubuntu Jammy, so I changed [CODENAME] from vera to jammy – (/users/13807486/jinx) (98 reputation) Jinx Commented (2023-01-27 20:43:29Z, License: CC BY-SA 4.0) Jan 27, 2023 at 20:43 (this comment was edited 1 time) (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:76d329a0cddc4846,10:1744767082,16:27610e714dd5935e,8:48974927,d8723541739130e1e41b02204e65539aededb4b1bc27c8c373beac0f5ffcc5cf) 44 (This answer is not useful) (70:3:31e,16:184a30435769a646,10:1744767082,16:9243284beebbba9c,8:48974927,a46cf8c312f3e44471e8a30047044446a06921e554790e81fcd6e05da992471a) Save this answer. (Loading when this answer was accepted…) (/posts/48974927/timeline) Show activity on this post. Elliot Beach is correct. Thanks Elliot. Here is the code from my (https://gist.github.com/mykubicle/9067cdacff99c00e47933d40e595db90) gist . sudo apt-get remove docker docker-engine docker.io sudo apt-get update sudo apt-get install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ xenial \ stable" sudo apt-get update sudo apt-get install docker-ce sudo docker run hello-world (/a/48974927) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/48974927/edit) () Improve this answer Follow (70:3:31e,16:67d8ba50f97f92b1,10:1744767082,16:32b2ac10ead81646,8:48974927,1eb36473858547f5787501b2f8f9cee72b85fcbbade8e71f2b42e84f46e5906e) Follow this answer to receive notifications answered (2018-02-25 15:04:18Z) Feb 25, 2018 at 15:04 (/users/1319194/christopher-govender) (Christopher Govender's user avatar) (/users/1319194/christopher-govender) Christopher Govender Christopher Govender (reputation score) 555 (5 silver badges) 5 5 silver badges (4 bronze badges) 4 4 bronze badges 3 (number of 'useful comment' votes received) 6 Careful running these commands if not running xenial. This command would be safer add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" – (/users/1626687/spuder) (18,517 reputation) spuder Commented (2018-10-15 18:21:34Z, License: CC BY-SA 4.0) Oct 15, 2018 at 18:21 (number of 'useful comment' votes received) 1 In some cases (ie. Mint) the lsb_release -cs returns tara which doesn't have a supported release so specifically overriding to xenial as shown (or trusty) is a useful workaround. – (/users/1687361/strixy) (578 reputation) Strixy Commented (2018-12-08 20:52:35Z, License: CC BY-SA 4.0) Dec 8, 2018 at 20:52 Your gist fixes the "E: Package 'containerd.io' has no installation candidate" issue with Kubuntu eoan. Some people solved it with bionic, but it didn't work for me, following your gist with xenial did. The problem arises when you use $(lsb_release -cs) because it's not fully supported. Others report using such a "misconfiguration" hack without any issues for 4 months and counting ((https://stackoverflow.com/questions/60274857/i-cant-install-docker-because-containerd-io-has-no-installation-candidate) (i cant install docker because containerd io has no installation candidate) stackoverflow.com/questions/60274857/… ) – (/users/8603888/leamsi) (61 reputation) Leamsi Commented (2020-02-20 16:45:31Z, License: CC BY-SA 4.0) Feb 20, 2020 at 16:45 (this comment was edited 1 time) (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:3b3d7b8bee7593e2,10:1744767082,16:874c10306978d81d,8:54402189,849b22b69b85ce2de8a905f106d1bd08738fc009aa5c66296d82bdcbdc6bb818) 23 (This answer is not useful) (70:3:31e,16:e5fb93fc6b385f4e,10:1744767082,16:67bd3e890b4e1321,8:54402189,15d17e144e6322777e2270dbc5552cef91eb1b9d94ec2ac7edac604c00905167) Save this answer. (Loading when this answer was accepted…) (/posts/54402189/timeline) Show activity on this post. As suggested in official docker document also. Try running this: sudo vi /etc/apt/sources.list Then remove/comment any (deb [arch=amd64] https://download.docker.com/linux/ubuntu/ xenial stable ) such entry at the last lines of the file. Then in terminal run this command: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu/ bionic stable" sudo apt-get update It worked in my case. (/a/54402189) (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/54402189/edit) () Improve this answer Follow (70:3:31e,16:5d6a0b0c6864ecd3,10:1744767082,16:51912290d3befca3,8:54402189,e3fb89f09701dbb7881a3bceb0c23c362ae379a6d281d1dbf6c08f439ae128ce) Follow this answer to receive notifications (/posts/54402189/revisions) (show all edits to this post) edited (2019-01-28 12:40:40Z) Jan 28, 2019 at 12:40 (/users/4826457/suraj-rao) (Suraj Rao's user avatar) (/users/4826457/suraj-rao) Suraj Rao (reputation score 29,636) 29.6k (11 gold badges) 11 11 gold badges (95 silver badges) 95 95 silver badges (104 bronze badges) 104 104 bronze badges answered (2019-01-28 12:36:45Z) Jan 28, 2019 at 12:36 (/users/10959695/parneeti-sood) (parneeti sood's user avatar) (/users/10959695/parneeti-sood) parneeti sood parneeti sood (reputation score) 266 (2 silver badges) 2 2 silver badges (4 bronze badges) 4 4 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:4e7c085df4cad21f,10:1744767082,16:73f8352be9367875,8:75429100,61bb3d97a530ddf6d84222641879161d45fb35dfd1c08ce5a6a69bc8f7416116) 16 (This answer is not useful) (70:3:31e,16:a882de68f3438c85,10:1744767082,16:c4d583d64fe0812e,8:75429100,560d18d44012462e4677478c9855d8a740aad0c9fc970a8048a0f29f62764e5e) Save this answer. (Loading when this answer was accepted…) (/posts/75429100/timeline) Show activity on this post. I'm using Kubuntu 20.04. If I cat /etc/os-release , I see: VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy However, in my file /etc/apt/sources.list.d/docker.list I had this line: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian jammy stable The solution was to change debian to ubuntu , then it worked. (/a/75429100) (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/75429100/edit) () Improve this answer Follow (70:3:31e,16:830d074aa6d4c255,10:1744767082,16:a4026423315d93a7,8:75429100,241688cfd03e91cb796ea70a4b3aeaca3ad7f27b9a782ba99eb78b491f7efb8f) Follow this answer to receive notifications (/posts/75429100/revisions) (show all edits to this post) edited (2023-02-16 14:49:56Z) Feb 16, 2023 at 14:49 (/users/2915423/helvete) (helvete's user avatar) (/users/2915423/helvete) helvete (reputation score) 2,683 (15 gold badges) 15 15 gold badges (36 silver badges) 36 36 silver badges (41 bronze badges) 41 41 bronze badges answered (2023-02-12 18:05:39Z) Feb 12, 2023 at 18:05 (/users/11940898/lascou) (Lascou's user avatar) (/users/11940898/lascou) Lascou Lascou (reputation score) 356 (3 silver badges) 3 3 silver badges (9 bronze badges) 9 9 bronze badges 3 (number of 'useful comment' votes received) 2 In my case it was the otherway around. I changed ubuntu to debian and it worked. – (/users/6698396/kmchmk) (642 reputation) kmchmk Commented (2024-01-16 05:00:57Z, License: CC BY-SA 4.0) Jan 16, 2024 at 5:00 This was the same issue with Pop_OS. – (/users/513739/excalibur) (3,367 reputation) Excalibur Commented (2024-05-24 16:36:48Z, License: CC BY-SA 4.0) May 24, 2024 at 16:36 In my case it was the otherway around. I changed ubuntu to debian and it worked - same here to. – (/users/9371471/drascom) (99 reputation) drascom Commented (2024-07-16 15:04:02Z, License: CC BY-SA 4.0) Jul 16, 2024 at 15:04 (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:377fadd7d68dae9e,10:1744767082,16:af5f3d0fb9506ce5,8:62977965,6ed1abaf0eb7ffd65329b55b02babd44ee976f6b286926fa2feeedb9a886cd82) 13 (This answer is not useful) (70:3:31e,16:3810be3cdaf1db21,10:1744767082,16:1c0384be9df5ae26,8:62977965,20d010c485a7cac051205fc0f67a381b0bb3e95a3ff3784009b931da6eaaddb5) Save this answer. (Loading when this answer was accepted…) (/posts/62977965/timeline) Show activity on this post. Linux Mint 20 Ulyana users need to change "ulyana" to "bionic" in /etc/apt/sources.list.d/additional-repositories.list like so: deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable (/a/62977965) (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/62977965/edit) () Improve this answer Follow (70:3:31e,16:7ed2bc2cec8c460e,10:1744767082,16:359746f950d2eb68,8:62977965,10d549c2974f90dc0036536a2a2c395ff8b74619ced3465f4d4bf3ad4f47572c) Follow this answer to receive notifications answered (2020-07-19 08:33:19Z) Jul 19, 2020 at 8:33 (/users/3209908/alex-paramonov) (Alex Paramonov's user avatar) (/users/3209908/alex-paramonov) Alex Paramonov Alex Paramonov (reputation score) 2,750 (2 gold badges) 2 2 gold badges (25 silver badges) 25 25 silver badges (28 bronze badges) 28 28 bronze badges 3 Linux Mint 20 Ulyana is built on top of the latest Ubuntu 20.04 LTS Focal Fossa. Use focal insted – (/users/7964557/marcelo-fonseca) (1,844 reputation) Marcelo Fonseca Commented (2021-02-08 21:03:38Z, License: CC BY-SA 4.0) Feb 8, 2021 at 21:03 @MarceloFonseca I'm on the latest Linux Mint version. For some strange reasons, when I tried to use focal, it kept telling me that it doesn't have a release file. It worked only when I retrieved the Debian version in /etc/debian_version. – (/users/7473935/clockwork) (269 reputation) Clockwork Commented (2021-10-07 07:32:46Z, License: CC BY-SA 4.0) Oct 7, 2021 at 7:32 changing from ulyana to bionic worked. Thanks – (/users/2635590/mwesigye-john-bosco) (1,188 reputation) Mwesigye John Bosco Commented (2021-10-10 01:34:37Z, License: CC BY-SA 4.0) Oct 10, 2021 at 1:34 (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:a9db5ac58dee0372,10:1744767082,16:f3bdd0d6d89ec730,8:73365400,8224eb08c492826e05a877485fb178143120dac77a1a8bc123e154845a8e681f) 12 (This answer is not useful) (70:3:31e,16:2e46bf5a733cf738,10:1744767082,16:1e18b8565ee6c468,8:73365400,f80e6aa56d260352a3c1a347d3265c87fa285076fa7ef643d9fa1e5b1e2a4edf) Save this answer. (Loading when this answer was accepted…) (/posts/73365400/timeline) Show activity on this post. Although this is an older post, I ran into a similar problem just yesterday. Instructions on Docker's own website (https://docs.docker.com/engine/install/debian/) were not working for me, and I was getting a number of installation errors: (below some of the problematic lines from the terminal's output): Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Err:7 https://download.docker.com/linux/debian focal Release 404 Not Found [IP: 13.227.219.37 443] Reading package lists... Done E: The repository 'https://download.docker.com/linux/debian focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. root@:~# sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin Reading package lists... Done Building dependency tree Reading state information... Done Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'docker-ce' has no installation candidate E: Unable to locate package docker-ce-cli E: Unable to locate package containerd.io E: Couldn't find any package by glob 'containerd.io' E: Couldn't find any package by regex 'containerd.io' E: Unable to locate package docker-compose-plugin root@:~# sudo apt-get upgrade After searching and trying several fixes, I found that the response provided by #Prashant Abdare was the most useful. Upon running the following command: $ cat /etc/debian_version I got the following output: bullseye/sid As I do not have the xed editor installed, I simply replaced #Prashant Abdare's command with sudo nano on my server's root: $ sudo nano /etc/apt/sources.list.d/docker.list Next, I simply edited the entry (as he indicated) by changing the Debian version therein, fom to Namely, from (incorrect): deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian focal stable To (correct, for my system): deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable After this, I simply ran the following commands (from Docker's original instructions (https://docs.docker.com/engine/install/debian/) ): $ sudo apt-get update $ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin This time, the installation worked like a charm and the previous issues (from the terminal output lines pasted above) became fixed, thus updating to version 20.10.17: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: bridge-utils dns-root-data dnsmasq-base libidn11 ubuntu-fan Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: docker-ce-rootless-extras docker-scan-plugin slirp4netns Suggested packages: aufs-tools cgroupfs-mount | cgroup-lite The following packages will be REMOVED: containerd docker.io runc The following NEW packages will be installed: containerd.io docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin docker-scan-plugin slirp4netns 0 upgraded, 7 newly installed, 3 to remove and 0 not upgraded. Need to get 108 MB of archives. After this operation, 115 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirrors.digitalocean.com/ubuntu focal/universe amd64 slirp4netns amd64 0.4.3-1 [74.3 kB] Get:2 https://download.docker.com/linux/debian bullseye/stable amd64 containerd.io amd64 1.6.7-1 [28.1 MB] Get:3 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-cli amd64 5:20.10.17~3-0~debian-bullseye [40.6 MB] Get:4 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce amd64 5:20.10.17~3-0~debian-bullseye [21.0 MB] Get:5 https://download.docker.com/linux/debian bullseye/stable amd64 docker-ce-rootless-extras amd64 5:20.10.17~3-0~debian-bullseye[8159 kB] Get:6 https://download.docker.com/linux/debian bullseye/stable amd64 docker-compose-plugin amd64 2.6.0~debian-bullseye [6562 kB] Get:7 https://download.docker.com/linux/debian bullseye/stable amd64 docker-scan-plugin amd64 0.17.0~debian-bullseye [3520 kB] Fetched 108 MB in 2s (44.9 MB/s) (Reading database ... 95602 files and directories currently installed.) Removing docker.io (20.10.12-0ubuntu2~20.04.1) ... '/usr/share/docker.io/contrib/nuke-graph-directory.sh' -> '/var/lib/docker/nuke-graph-directory.sh' Removing containerd (1.5.9-0ubuntu1~20.04.4) ... Removing runc (1.1.0-0ubuntu1~20.04.1) ... Selecting previously unselected package containerd.io. (Reading database ... 95340 files and directories currently installed.) Preparing to unpack .../0-containerd.io_1.6.7-1_amd64.deb ... Unpacking containerd.io (1.6.7-1) ... Selecting previously unselected package docker-ce-cli. Preparing to unpack .../1-docker-ce-cli_5%3a20.10.17~3-0~debian-bullseye_amd64.deb ... Unpacking docker-ce-cli (5:20.10.17~3-0~debian-bullseye) ... Selecting previously unselected package docker-ce. Preparing to unpack .../2-docker-ce_5%3a20.10.17~3-0~debian-bullseye_amd64.deb ... Unpacking docker-ce (5:20.10.17~3-0~debian-bullseye) ... Selecting previously unselected package docker-ce-rootless-extras. Preparing to unpack .../3-docker-ce-rootless-extras_5%3a20.10.17~3-0~debian-bullseye_amd64.deb... Unpacking docker-ce-rootless-extras (5:20.10.17~3-0~debian-bullseye) ... Selecting previously unselected package docker-compose-plugin. Preparing to unpack .../4-docker-compose-plugin_2.6.0~debian-bullseye_amd64.deb ... Unpacking docker-compose-plugin (2.6.0~debian-bullseye) ... Selecting previously unselected package docker-scan-plugin. Preparing to unpack .../5-docker-scan-plugin_0.17.0~debian-bullseye_amd64.deb ... Unpacking docker-scan-plugin (0.17.0~debian-bullseye) ... Selecting previously unselected package slirp4netns. Preparing to unpack .../6-slirp4netns_0.4.3-1_amd64.deb ... Unpacking slirp4netns (0.4.3-1) ... Setting up slirp4netns (0.4.3-1) ... Setting up docker-scan-plugin (0.17.0~debian-bullseye) ... Setting up containerd.io (1.6.7-1) ... Setting up docker-compose-plugin (2.6.0~debian-bullseye) ... Setting up docker-ce-cli (5:20.10.17~3-0~debian-bullseye) ... Setting up docker-ce-rootless-extras (5:20.10.17~3-0~debian-bullseye) ... Setting up docker-ce (5:20.10.17~3-0~debian-bullseye) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for systemd (245.4-4ubuntu3.17) ... root@:~# sudo nano /etc/apt/sources.list.d/docker.list root@:~# docker --version Docker version 20.10.17, build 100c701 root@:~# hostnamectl So thanks again to @Prashant Abdare for sharing this solution, and to @Deep Kakkar for his recent edits. (/a/73365400) (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/73365400/edit) () Improve this answer Follow (70:3:31e,16:713776d667c73e26,10:1744767082,16:6addb55e43d810c2,8:73365400,c94051fefbd8812795955fa9b9ce2de45c667c227365e48b3201b41cffcbf7ac) Follow this answer to receive notifications answered (2022-08-15 19:05:02Z) Aug 15, 2022 at 19:05 (/users/10902986/karljazz) (Karljazz's user avatar) (/users/10902986/karljazz) Karljazz Karljazz (reputation score) 121 (1 silver badge) 1 1 silver badge (3 bronze badges) 3 3 bronze badges 2 Hello and thank you for answering this question! I would recommend editing down the terminal outputs to the most germane lines. Especially if you're running commands in between outputs. – (/users/5083114/vanbantam) (788 reputation) VanBantam Commented (2022-08-22 18:56:23Z, License: CC BY-SA 4.0) Aug 22, 2022 at 18:56 Thanks, this also worked for me on Linux Mint 21, I just changed it to jammy – (/users/15586166/netsu) (1,529 reputation) Netsu Commented (2022-12-15 08:21:31Z, License: CC BY-SA 4.0) Dec 15, 2022 at 8:21 (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:fc17c74ea9beef16,10:1744767082,16:ddc3888681959eb1,8:41808547,a043ae292440aaed6796fc7c83224183399de9761b3a10ece3c3bc47af748647) 10 (This answer is not useful) (70:3:31e,16:e4e16ece7cf3f23d,10:1744767082,16:21a37bd944a67eb6,8:41808547,7cfe848d130302c7c78d0d80bccaaa118d1bf2ea58ba6b980a2b9b4964007972) Save this answer. (Loading when this answer was accepted…) (/posts/41808547/timeline) Show activity on this post. I saw an interesting post from Ikraider here that solved my issue : (https://github.com/docker/docker/issues/22599) https://github.com/docker/docker/issues/22599 Website instructions are wrong, here is what works in 16.04: curl -s https://yum.dockerproject.org/gpg | sudo apt-key add apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" sudo apt-get update sudo apt-get install docker-engine=1.13.0-0~ubuntu-xenial (/a/41808547) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/41808547/edit) () Improve this answer Follow (70:3:31e,16:61920e6c34f262a7,10:1744767082,16:6e5235ea9a25dde2,8:41808547,b3bef5216f5d0bd24e046405fe09fbf29432d20f67edb0ee741314612b7c8b20) Follow this answer to receive notifications answered (2017-01-23 14:22:16Z) Jan 23, 2017 at 14:22 (/users/5134452/nicolas-d) (Nicolas D's user avatar) (/users/5134452/nicolas-d) Nicolas D Nicolas D (reputation score) 1,222 (20 silver badges) 20 20 silver badges (43 bronze badges) 43 43 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:93a7a75c8a449c9a,10:1744767082,16:8ee1ed3de135c50e,8:61695158,6f383838bcbfbd49b9d0ffd6c339b3f779ea61c43df86b82c4ca56c7165c5588) 6 (This answer is not useful) (70:3:31e,16:7f10ac0059fc34d1,10:1744767082,16:53acd195e818ed4f,8:61695158,ac899e536a8c5e0d70229785320263f3be3b396b8038103f120565b0b16d7a53) Save this answer. (Loading when this answer was accepted…) (/posts/61695158/timeline) Show activity on this post. I was facing similar issue on Linux mint what I did was found out Debian version using, $ cat /etc/debian_version buster/sid then replaced Debian version in $ sudo vi /etc/apt/sources.list.d/additional-repositories.list deb [arch=amd64] https://download.docker.com/linux/debian buster stable (/a/61695158) (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/61695158/edit) () Improve this answer Follow (70:3:31e,16:f9f520f0df13100a,10:1744767082,16:a13fcbca1678696a,8:61695158,8dada3afd541324da6d162fe94716a57d5272621596bd6039b4a23edb0bd37ba) Follow this answer to receive notifications answered (2020-05-09 10:21:29Z) May 9, 2020 at 10:21 (/users/9315263/abhijeet-farakate) (Abhijeet Farakate's user avatar) (/users/9315263/abhijeet-farakate) Abhijeet Farakate Abhijeet Farakate (reputation score) 647 (7 silver badges) 7 7 silver badges (9 bronze badges) 9 9 bronze badges 1 This is the only solution that worked for me. I tried the other ones suggesting to take the Ubuntu "focal" version but I still had the same error. Taking the debian_version (bullseye), it worked. – (/users/7473935/clockwork) (269 reputation) Clockwork Commented (2021-09-20 13:55:34Z, License: CC BY-SA 4.0) Sep 20, 2021 at 13:55 (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:09fd7c665923ee40,10:1744767082,16:3a46f40277c6c962,8:51925722,62a1460ff7eee219d20543302ef7c11f3ccb6e02f9b2857a72b3b986b1dbc148) 3 (This answer is not useful) (70:3:31e,16:ba6063b866965ef5,10:1744767082,16:657adb140f410100,8:51925722,f18df1f9a136487f5556de23cd1f106314677ca08e032029579ff821ca96e8fd) Save this answer. (Loading when this answer was accepted…) (/posts/51925722/timeline) Show activity on this post. I also had a similar issue. Someone might find what worked for me helpful. Machine is running Ubuntu 16.04 and has Docker CE. After looking through the answers and links provided here, especially from the link from the Docker website given by Elliot Beach, I opened my /etc/apt/sources.list and examined it. The file had both deb [arch=amd64] https://download.docker.com/linux/ubuntu (lsb_release -cs) stable and deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable . Since the second one was what was needed, I simply commented out the first, saved the document and now the issue is fixed. As a test, I went back into the same document, removed the comment sign and ran sudo apt-get update again. The issue returned when I did that. So to recap : not only did I have my parent Ubuntu distribution name as stated on the Docker website but I also commented out the line still containing (lsb_release -cs). (/a/51925722) (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/51925722/edit) () Improve this answer Follow (70:3:31e,16:f85eec5e3958fde1,10:1744767082,16:29909d7556515006,8:51925722,69c2cc955b5f3bce07a7059b69177ec48f4b40b3343ae2bded0eae20c8c3dbc3) Follow this answer to receive notifications answered (2018-08-20 07:15:56Z) Aug 20, 2018 at 7:15 (/users/10248505/simeon) (Simeon's user avatar) (/users/10248505/simeon) Simeon Simeon (reputation score) 41 (3 bronze badges) 3 3 bronze badges 1 On Ubuntu 18.10 I commented out this line: # deb [arch=amd64] (https://download.docker.com/linux/ubuntu) download.docker.com/linux/ubuntu cosmic stable – (/users/651028/sergei-g) (1,719 reputation) Sergei G Commented (2018-11-30 22:31:37Z, License: CC BY-SA 4.0) Nov 30, 2018 at 22:31 (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:e914b44995ddc8c6,10:1744767082,16:1b61713ffcd85f66,8:71278539,37885aa268ba9034ec887ff12d83e3d19c157a2a90b02a37df92239310f56c76) 3 (This answer is not useful) (70:3:31e,16:3ef7604cb2e38485,10:1744767082,16:9e25ad39060efc23,8:71278539,4a838383ec776be51f20f6e58e1e034386f4dcce881ff682a371db10d1d70011) Save this answer. (Loading when this answer was accepted…) (/posts/71278539/timeline) Show activity on this post. For Linux Mint 20.3 Cinnamon following process worked for me. Checking Debian version: $ cat /etc/debian_version bullseye/sid then opening the file in xed editor sudo xed /etc/apt/sources.list.d/docker.list and update the version from uma to bullseye . (/a/71278539) (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/71278539/edit) () Improve this answer Follow (70:3:31e,16:fb873b2030266d98,10:1744767082,16:24144a7ed8593176,8:71278539,a976e72860a3de16a834b11246c5473475c0dcee7051b6678850e778051018ea) Follow this answer to receive notifications (/posts/71278539/revisions) (show all edits to this post) edited (2022-08-03 07:27:56Z) Aug 3, 2022 at 7:27 (/users/4478280/deep-kakkar) (Deep Kakkar's user avatar) (/users/4478280/deep-kakkar) Deep Kakkar (reputation score) 6,305 (4 gold badges) 4 4 gold badges (43 silver badges) 43 43 silver badges (80 bronze badges) 80 80 bronze badges answered (2022-02-26 16:47:11Z) Feb 26, 2022 at 16:47 (/users/7255138/prashant-abdare) (Prashant Abdare's user avatar) (/users/7255138/prashant-abdare) Prashant Abdare Prashant Abdare (reputation score) 2,475 (1 gold badge) 1 1 gold badge (16 silver badges) 16 16 silver badges (25 bronze badges) 25 25 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:36e03261c2168ddf,10:1744767082,16:67f7ee77edfe8bf7,8:57547040,275d7b527c78addd198cd3f3b961209d4a555382266e5f783d544fd578c1e00f) 2 (This answer is not useful) (70:3:31e,16:bc2ed64930972e54,10:1744767082,16:9b84f3a57e6db937,8:57547040,71d6b3a2c81d4716e60ed0ef9afb6f819af9ee1986334a35044abc110cd1b7d2) Save this answer. (Loading when this answer was accepted…) (/posts/57547040/timeline) Show activity on this post. Editing file /etc/apt/sources.list.d/additional-repositories.list and adding deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable worked for me, this post was very helpful (https://github.com/typora/typora-issues/issues/2065) https://github.com/typora/typora-issues/issues/2065 (/a/57547040) (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/57547040/edit) () Improve this answer Follow (70:3:31e,16:09641130861950e5,10:1744767082,16:9de78244714a5515,8:57547040,2d3e07903f6ee6bb68a826a1db2d67eb1dc1644bad50969af6eb12218d519e0f) Follow this answer to receive notifications answered (2019-08-18 17:55:26Z) Aug 18, 2019 at 17:55 (/users/9216391/primetime) (PrimeTime's user avatar) (/users/9216391/primetime) PrimeTime PrimeTime (reputation score) 189 (2 silver badges) 2 2 silver badges (6 bronze badges) 6 6 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:a4b80b10a34d85b9,10:1744767082,16:5cae57ed826a51ea,8:51044522,d21cbdba7de75a1e02acda2b0196a482f6f0add6699bc8480923589faccf3303) 1 (This answer is not useful) (70:3:31e,16:18d176484e3ec87b,10:1744767082,16:0ad6b1edfbf19ab4,8:51044522,3da515bdaee306a78a10b3447e523de1743b675a88fb8ec5d412dc311a61300a) Save this answer. (Loading when this answer was accepted…) (/posts/51044522/timeline) Show activity on this post. I still have the same issue. None of the answers above seem to solve it. I have ubuntu 16.04, and I follow the steps described in (https://docs.docker.com/install/linux/docker-ce/ubuntu/) https://docs.docker.com/install/linux/docker-ce/ubuntu/ I suspect it is related to an apt-get bug regarding https. The information being printed by apt-get is kind of misleading. I think that Failed to fetch.. can also be translated as: problem accessing resource from within an https connection How did I come to this conclusion: First of all I am behind a corporate proxy so I have set the following configuration: /etc/apt/apt.conf Acquire::http::proxy "http://squidproxy:8080/"; Acquire::https::proxy "http://squidproxy:8080/"; Acquire::ftp::proxy "ftp://squidproxy:8080/"; Acquire::https::CaInfo "/etc/ssl/certs/ca-certificates.pem"; /etc/apt/apt.conf.d/99proxy Acquire::http::Proxy { localhost DIRECT; localhost:9020 DIRECT; localhost:9021 DIRECT; }; I performed the following tests with differrent entries in sources.list test entry 1: deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable sudo apt-get update W: The repository 'https://download.docker.com/linux/ubuntu xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/xenial/stable/binary-amd64/Packages E: Some index files failed to download. They have been ignored, or old ones used instead. Failure test entry 2: deb [arch=amd64] http://localhost:9020/linux/ubuntu xenial stable /etc/apache2/sites-enabled/apt-proxy.conf # http to https reverse proxy configuration. Listen 9020 SSLProxyEngine On # pass from squid proxy ProxyRemote https://download.docker.com/ http://squidproxy:8080 ProxyPass / https://download.docker.com/ ProxyPassReverse / https://download.docker.com/ ErrorLog ${APACHE_LOG_DIR}/apt-proxy-error.log CustomLog ${APACHE_LOG_DIR}/apt-proxy-access.log combined sudo apt-get update Hit:1 .. Hit:2 .. ... Hit:7 http://localhost:9020/linux/ubuntu xenial InRelease Get:8 ... Fetched 323 kB in 0s (419 kB/s) Reading package lists... Done Success test entry 3: deb [arch=amd64] https://localhost:9021/linux/ubuntu xenial stable /etc/apache2/sites-enabled/apt-proxy.conf # https to https revere proxy Listen 9021 # serve on https SSLEngine on SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key SSLProxyEngine On # pass from squid proxy ProxyRemote https://download.docker.com/ http://squidproxy:8080 ProxyPass / https://download.docker.com/ ProxyPassReverse / https://download.docker.com/ ErrorLog ${APACHE_LOG_DIR}/apt-proxy-error.log CustomLog ${APACHE_LOG_DIR}/apt-proxy-access.log combined sudo apt-get update W: The repository 'https://localhost:9021/linux/ubuntu xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch https://localhost:9021/linux/ubuntu/dists/xenial/stable/binary-amd64/Packages E: Some index files failed to download. They have been ignored, or old ones used instead. Failure In the above cases the url which apt-get Failed to fetch and also the Release file, were actually accessible from browser / wget / curl using the same proxy configuration.The fact that apt-get worked only with http reverse proxy url, implies that there is some issue accessing resources from within an https connection .I do not know what this issue is but apt-get should show a more informative message ( apt is even less verbose ). Note: wiresharking case 1 showed that proxy CONNECT was successful, and no RST was sent, but of course the files could not be read. (/a/51044522) (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/51044522/edit) () Improve this answer Follow (70:3:31e,16:0449cff4538333b6,10:1744767082,16:d7b33e0635d1b0aa,8:51044522,4bc71cc8837cbc68f95deda54b6b8332794411fd0b437daacec10cd6a911be9f) Follow this answer to receive notifications answered (2018-06-26 13:48:45Z) Jun 26, 2018 at 13:48 (/users/1555615/marinos-an) (Marinos An's user avatar) (/users/1555615/marinos-an) Marinos An Marinos An (reputation score 11,010) 11k (7 gold badges) 7 7 gold badges (75 silver badges) 75 75 silver badges (112 bronze badges) 112 112 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:cba3d7f301b2d7de,10:1744767082,16:4d2972e15f5bac21,8:69263738,a5d9e3d12e9b3fe5bb699dc39d8107491ca2b40b9f6354b3331ac200f81600da) 1 (This answer is not useful) (70:3:31e,16:3094a3ca2f2b0131,10:1744767082,16:bd2021b03583e7b4,8:69263738,9a1a237a6aae1488fbb69f212cedd9b9523462780e646343080d0236c9e82b93) Save this answer. (Loading when this answer was accepted…) (/posts/69263738/timeline) Show activity on this post. In Linux Mint Change directory cd /etc/apt/sources.list.d ls -la find a file call docker.list and edit it with nano text editor sudo nano docker.list // or /etc/apt/sources.list.d/additional-repositories.list Replace version of Linux mint in my case it was focal In your case, it could be bionic, focal, buster, etc see the code name lsb_release -a deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu focal stable (/a/69263738) (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/69263738/edit) () Improve this answer Follow (70:3:31e,16:5cd74152874a5805,10:1744767082,16:615e5ed55ab97107,8:69263738,36aac1f764e2742ca0c852039912417442ef68dbe9c1cc5cb24d51aec8c5fdfa) Follow this answer to receive notifications answered (2021-09-21 05:22:49Z) Sep 21, 2021 at 5:22 (/users/8725395/md-shayon) (MD SHAYON's user avatar) (/users/8725395/md-shayon) MD SHAYON MD SHAYON (reputation score) 8,101 (54 silver badges) 54 54 silver badges (43 bronze badges) 43 43 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:52c16d1a4d1bcf3c,10:1744767082,16:b3120faa01ab1642,8:72589011,9f002aa0bd909aea66a6c480f3fb76a91db7fb6fb9697df0671fe27d0d58409f) 1 (This answer is not useful) (70:3:31e,16:4b74de4820e7ae44,10:1744767082,16:af3740cb17507bf9,8:72589011,64ae2ff62707570e84f99493f55585711ada76789e538e9cc6d8b61fb62462cf) Save this answer. (Loading when this answer was accepted…) (/posts/72589011/timeline) Show activity on this post. If you are using Parrot Os Or any other debian base Os, You have to edit the docker.list in /etc/apt/sources.list.d/docker.list to use the debian release of your OS (bullseye, buster and so on). sudo nano /etc/apt/sources.list.d/docker.list The above command will open the docker.list file where you can change the link to now look like this: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bullseye stable Just replace the bullseye with your OS debian codename And save. After that, run sudo apt-get update again. (/a/72589011) (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/72589011/edit) () Improve this answer Follow (70:3:31e,16:7c0733aabd0b55e1,10:1744767082,16:fa48ba359aeaca76,8:72589011,119ff4a324dcc94fc6ab5ba4a1bd62f4326e8ec50a1e3d07cdaef024e1242517) Follow this answer to receive notifications answered (2022-06-12 01:52:11Z) Jun 12, 2022 at 1:52 (/users/12954798/musheabdulhakim) (MusheAbdulHakim's user avatar) (/users/12954798/musheabdulhakim) MusheAbdulHakim MusheAbdulHakim (reputation score) 364 (4 silver badges) 4 4 silver badges (8 bronze badges) 8 8 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:77490bd42b2dccac,10:1744767082,16:cf6277e13c8e396d,8:58956444,c7d0621a49e428ba8d81ae849568371d009423fc95ae17e2a569c4644509596b) 0 (This answer is not useful) (70:3:31e,16:43c0d94f8e753a5b,10:1744767082,16:a2302daa4653d9c2,8:58956444,553bea5fb0c6989cdfd763a119463e06776b596cabc1abdc207e5f812e3f0852) Save this answer. (Loading when this answer was accepted…) (/posts/58956444/timeline) Show activity on this post. This is what worked for me on LinuxMint 19. curl -s https://yum.dockerproject.org/gpg | sudo apt-key add apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io (/a/58956444) (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/58956444/edit) () Improve this answer Follow (70:3:31e,16:eb456a19bd70ae95,10:1744767082,16:305111333f60f204,8:58956444,0ed9f161a908d2cb78f71de0b8586239a43f5a523918d4b224e2047f8440c78e) Follow this answer to receive notifications answered (2019-11-20 14:16:16Z) Nov 20, 2019 at 14:16 (/users/10597330/gilberts) (GilbertS's user avatar) (/users/10597330/gilberts) GilbertS GilbertS (reputation score) 659 (9 silver badges) 9 9 silver badges (12 bronze badges) 12 12 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:a2584d5a8a2d1b24,10:1744767082,16:b5600ac2d4e2704f,8:72599358,41d6c06043873e8776e63efc57531e16cc4392d23273d67b36666579679ad08e) 0 (This answer is not useful) (70:3:31e,16:51fc5599c2b83fed,10:1744767082,16:7021aef42c1f0d3c,8:72599358,4e652e90ce1776bc9a508463f1068e441395ee3f9080dbdc88e1f96146ac8340) Save this answer. (Loading when this answer was accepted…) (/posts/72599358/timeline) Show activity on this post. I use Linux mint 20.3 lsb_release -cs command returns una . Renaming to xenial didn't work so well but bionic did deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu bionic stable (/a/72599358) (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/72599358/edit) () Improve this answer Follow (70:3:31e,16:4af145daf6ca9162,10:1744767082,16:5c8e8909ca36b82c,8:72599358,65e0fb22dc8b3f5c418a98b2f833b7b2f97eea351dcf9a913a33922d260e98fa) Follow this answer to receive notifications answered (2022-06-13 07:49:51Z) Jun 13, 2022 at 7:49 (/users/18791733/israel-komolehin) (Israel Komolehin's user avatar) (/users/18791733/israel-komolehin) Israel Komolehin Israel Komolehin (reputation score) 11 (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:93d4881938fe77ba,10:1744767082,16:da8d8ab365fb0498,8:54051393,639622802c34b768daf38a47b8f1da3e608ddb8a4055e14acd00578c313038d9) -1 (This answer is not useful) (70:3:31e,16:37f6a382f76810e6,10:1744767082,16:f276e2866cf9a3de,8:54051393,f0cb3bda302150095e3f6c262e0deb2043b0418396ec63b34b25395412c676bc) Save this answer. (Loading when this answer was accepted…) (/posts/54051393/timeline) Show activity on this post. Best check for this problem : (If you are behind proxy),(tested on ubuntu 18.04), (will work on other ubuntu also),(mostly error in : https_proxy="http://192.168.0.251:808/) Check these files: #sudo cat /etc/environment : http_proxy="http://192.168.0.251:808/" https_proxy="http://192.168.0.251:808/" ftp_proxy="ftp://192.168.0.251:808/" socks_proxy="socks://192.168.0.251:808/" #sudo cat /etc/apt/apt.conf : Acquire::http::proxy "http://192.168.0.251:808/"; Acquire::https::proxy "http://192.168.0.251:808/"; Acquire::ftp::proxy "ftp://192.168.0.251:808/"; Acquire::socks::proxy "socks://192.168.0.251:808/"; Add docker stable repo #sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" Run apt-get update: #sudo apt-get update Check Docker CE #apt-cache policy docker-ce install Docker #sudo apt-get install docker-ce (/a/54051393) (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/54051393/edit) () Improve this answer Follow (70:3:31e,16:60aaab9f36a3f7f0,10:1744767082,16:fa23ea7242820fdd,8:54051393,47038280af6652c5327d74cd2bf2fd8fe7cf513d4a62c93366548614be8a4bd2) Follow this answer to receive notifications (/posts/54051393/revisions) (show all edits to this post) edited (2019-01-05 12:20:09Z) Jan 5, 2019 at 12:20 (/users/7133466/federico-grandi) (Federico Grandi's user avatar) (/users/7133466/federico-grandi) Federico Grandi (reputation score) 6,786 (5 gold badges) 5 5 gold badges (33 silver badges) 33 33 silver badges (51 bronze badges) 51 51 bronze badges answered (2019-01-05 11:10:53Z) Jan 5, 2019 at 11:10 (/users/10871179/abhishek-jangid) (Abhishek Jangid's user avatar) (/users/10871179/abhishek-jangid) Abhishek Jangid Abhishek Jangid (reputation score) 1,704 (1 gold badge) 1 1 gold badge (9 silver badges) 9 9 silver badges (4 bronze badges) 4 4 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) Start asking to get answers Find the answer to your question by asking. (/questions/ask) Ask question Explore related questions (/questions/tagged/ubuntu) (show questions tagged 'ubuntu') ubuntu (/questions/tagged/docker) (show questions tagged 'docker') docker (/questions/tagged/apt-get) (show questions tagged 'apt-get') apt-get See similar questions with these tags. The Overflow Blog (https://stackoverflow.blog/2025/04/14/like-self-driving-cars-fully-ai-automated-sysadmins-don-t-exist/?cb=1) Like self-driving cars, fully AI-automated sysadmins don't exist (https://stackoverflow.blog/2025/04/15/how-ai-can-prevent-clinician-burnout/?cb=1) How AI can prevent clinician burnout Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/407927/changes-to-reporting-for-the-status-review-escalation-process?cb=1) Changes to reporting for the [status-review] escalation process (Meta Stack Exchange) (https://meta.stackexchange.com/questions/408236/chat-link-being-added-to-left-navigation-bar?cb=1) Chat link being added to left navigation bar (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/433466/a-discussion-about-closed-and-potentially-useful-posts-on-stack-overflow?cb=1) A discussion about closed (and potentially useful) posts on Stack Overflow Linked (https://stackoverflow.com/q/60274857?lq=1) (Question score (upvotes - downvotes)) 40 (https://stackoverflow.com/questions/60274857/i-cant-install-docker-because-containerd-io-has-no-installation-candidate?noredirect=1&lq=1) I can't install Docker because containerd.io has no installation candidate Related (https://stackoverflow.com/q/39901311?rq=1) (Question score (upvotes - downvotes)) 797 (https://stackoverflow.com/questions/39901311/docker-ubuntu-bash-ping-command-not-found?rq=1) Docker - Ubuntu - bash: ping: command not found (https://stackoverflow.com/q/72624687?rq=1) (Question score (upvotes - downvotes)) 42 (https://stackoverflow.com/questions/72624687/apt-get-update-fails-on-ubuntu-22-base-docker-image?rq=1) apt-get update fails on Ubuntu 22 base docker image (https://stackoverflow.com/q/70891105?rq=1) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/70891105/error-while-update-the-linux-sudo-apt-get-update?rq=1) Error while update the linux (sudo apt-get update) (https://stackoverflow.com/q/52939378?rq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/52939378/window-docker-cant-do-apt-get-update-from-any-linux-repos?rq=1) Window docker can't do "apt-get update" from any linux repos (https://stackoverflow.com/q/49523020?rq=1) (Question score (upvotes - downvotes)) 2 (https://stackoverflow.com/questions/49523020/ceres-shared-library-ubuntu-failed?rq=1) ceres shared library ubuntu failed (https://stackoverflow.com/q/50524653?rq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/50524653/docker-file-command-runs-apt-get-update-from-wrong-repository?rq=1) Docker file command runs apt-get update from wrong repository (https://stackoverflow.com/q/61536712?rq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/61536712/issue-while-creating-a-local-apt-repo-for-installing-docker-on-ubuntu?rq=1) Issue while Creating a local apt repo for installing docker on ubuntu (https://stackoverflow.com/q/57786530?rq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/57786530/how-to-get-packages-on-ubuntu-machine-from-local-artifactory-server?rq=1) How to get packages on Ubuntu machine from local artifactory server (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Aviation Stack Exchange) (https://aviation.stackexchange.com/questions/108390/when-flying-close-or-at-the-coffin-corner-and-you-get-a-tcas-warning-what-do) When Flying Close (or at) the Coffin Corner and you get a TCAS warning, what do you do? (Role-playing Games Stack Exchange) (https://rpg.stackexchange.com/questions/215273/can-you-stack-the-damage-bonuses-from-the-dueling-and-thrown-weapon-fighting-fig) Can you stack the damage bonuses from the Dueling and Thrown Weapon Fighting fighting styles? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217915/can-i-apply-for-a-masters-in-pure-mathematics-with-an-undergraduate-degree-in-e) Can I apply for a Master's in Pure Mathematics with an undergraduate degree in Engineering? (Law Stack Exchange) (https://law.stackexchange.com/questions/108304/can-i-as-a-us-citizen-sue-the-federal-government-to-avoid-being-deported-to-el) Can I, as a US citizen, sue the federal government to avoid being deported to El Salvador? (Cryptography Stack Exchange) (https://crypto.stackexchange.com/questions/114807/is-s2v-collision-resistant) Is S2V collision resistant? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/740896/gb4e-and-graphicx-in-a-tufte-handout) `gb4e` and `graphicx` in a Tufte-handout (Law Stack Exchange) (https://law.stackexchange.com/questions/108312/military-loyalty-in-a-constitutional-crisis) Military Loyalty in a Constitutional Crisis (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/265904/how-to-stop-a-genetically-enhanced-army-from-becoming-a-state-within-a-state) How to stop a genetically enhanced army from becoming a state within a state? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/217909/compensation-for-writing-a-publication-for-a-research-lab) Compensation for writing a publication for a research lab (Game Development Stack Exchange) (https://gamedev.stackexchange.com/questions/213218/how-to-protect-video-game-demonstration-equipment) How to protect video game demonstration equipment (Travel Stack Exchange) (https://travel.stackexchange.com/questions/194861/my-quadriplegic-relative-would-like-to-fly-long-distance-he-has-a-full-time-aid) My quadriplegic relative would like to fly long distance. He has a full time aide and will require a lie-down seat. Are aides allowed by airlines? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5056467/question-involving-limits-and-area-of-region) Question involving limits and area of region (Travel Stack Exchange) (https://travel.stackexchange.com/questions/194879/best-public-transport-card-for-tokyo-kyoto-and-osaka-is-debit-card-enough) Best public transport card for Tokyo, Kyoto, and Osaka? Is debit card enough? (Psychology & Neuroscience Stack Exchange) (https://psychology.stackexchange.com/questions/30897/how-is-it-possible-1-year-olds-perceive-but-dont-distinguish-colors) How is it possible 1-year-olds perceive but don't distinguish colors? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/740886/printing-dimensions-from-a-sequence-with-directlua) Printing dimensions from a sequence with directlua (Law Stack Exchange) (https://law.stackexchange.com/questions/108292/under-english-common-law-do-adopted-children-have-the-same-inheritance-rights-a) Under English common law, do adopted children have the same inheritance rights as biological children? (Space Exploration Stack Exchange) (https://space.stackexchange.com/questions/68240/skywriting-and-advertising-in-space) Skywriting and advertising in space? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/740905/evaluating-a-function) Evaluating a function (Geographic Information Systems Stack Exchange) (https://gis.stackexchange.com/questions/491927/how-to-create-increments-of-a-set-number) How to create increments of a set number (Politics Stack Exchange) (https://politics.stackexchange.com/questions/91393/why-did-the-doge-saving-estimates-go-from-1-or-2-trillion-usd-down-to-150-billio) Why did the DOGE saving estimates go from 1 or 2 trillion USD down to 150 billion USD for FY26? (Ask Ubuntu) (https://askubuntu.com/questions/1545809/help-with-screen-resolution-fractional-scaling-and-interface-display-in-ubuntu) Help with screen resolution, fractional scaling, and interface display in Ubuntu (Seasoned Advice) (https://cooking.stackexchange.com/questions/130461/how-to-make-chocolate-easter-egg-without-a-mould) How to make chocolate easter egg without a mould? (Retrocomputing Stack Exchange) (https://retrocomputing.stackexchange.com/questions/31574/what-is-a-plausible-reason-for-the-extra-hardware-cost-for-the-sol-pc-phantom) What is a plausible reason for the extra hardware/cost for the Sol-PC "phantom" ROM? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/743931/are-an-emitter-follower-and-an-op-amp-voltage-follower-the-same) Are an emitter follower and an op-amp voltage follower the same? () (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 Your Privacy Choices (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 © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.4.15.25241