Skip to content

Consider switching docker installation and update method from package to repository #392

Open

Description

@pablomendezroyo

Context

In DAppNode docker is installed and updated using the package method. This method entails to hardcode the docker engine, cli and api versions required. It is also a more complicated method that may result in issues.

Since Debian Bullseye become stable, Docker does not have incompatibilities with Debian Bullseye and does not make sense at all to install DAppNode through the package method.

To discuss

Switch docker installation and update methods from package method to repository method.

  • Advantages:

    • Code will be much more simple
    • Docker can be easily updated
    • No hardcoded versions
    • Avoid dappnode hosts to be unupdated
  • Disadvantages:

    • Loose control of docker-debian compatibility? (should be fixed now that docker supports officialy Bullseye)
    • ?
  • To take into account:

    • Docker update will still need to be done through dappmanager UI, which in the end uses a docker container to update Docker. This entails the issue of Linux process hierarchy, the update still needs to be done with a detached process.

cc: eduadiez tropicar 3alpha dapplion

┆Issue is synchronized with this Basecamp todo by Unito

Activity

  1. changed the title [-]Consider switch docker installation and update method from package to repository[/-] [+]Consider switching docker installation and update method from package to repository[/+] on Feb 23, 2022
  2. dapplion commented on Mar 2, 2022

    @dapplion
    Contributor

    Sounds good to me! I always install with the repository in my servers. @3alpha any objections?

  3. 3alpha commented on Mar 2, 2022

    @3alpha
    Member

    No, I also do it as well from repositories. I think issue here was that docker wasn't readily availabe in the stable branch of Debian repos so this manual stuff had to be done. But since it is in stable and for Debian it really means stable, I wouldn't mind changing this.

    @eduadiez Am I right about history of the issue?

  4. self-assigned this
    on Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

installerThis issue is related to the installer

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions