Code Monkey home page Code Monkey logo

Comments (2)

ChristianLempa avatar ChristianLempa commented on June 7, 2024 1

removed the need for installing apt-key, as ubuntu 22.04 allows to install docker.io via apt

from boilerplates.

modem7 avatar modem7 commented on June 7, 2024

@ChristianLempa heya - that's definitely a good solution!

However, just to note, there's some discussion regarding docker.io vs docker-ce (https://www.reddit.com/r/docker/comments/tavjen/question_about_install_dockerio_or_dockerce/ and https://octopus.com/blog/difference-between-docker-versions) that may be worth considering:

Excerpt from the stackoverflow link mentioned in octopus.com:

Choosing between docker.io and docker-ce

The main decision is whether to install the OSS version of docker from your Linux distribution or directly from Docker Inc. A few points to consider:

  • Documentation on https://docs.docker.com/ will be focused towards docker-ce.
  • Support for issues from Docker Inc. will want you to have installed their version. That's only fair if you're a developer that packages the product, that you'd only want to support your own packaging.
  • Patches and new releases will be available from docker-ce before docker.io. This may be important for time sensitive security issues.
  • Installing docker-ce requires adding another repository to your sources.list, which is one more vendor to trust, and one more list of packages to update with every patch.
  • If you only want the CLI so you can access docker on remote machines (e.g. DOCKER_HOST=ssh://[email protected] docker ps), you'll want to use the docker-ce-cli package.

The entire thread is pretty interesting though. It seems both methods have their own merits.

Cheers again!

from boilerplates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.