• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Docker Install Error

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 720 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wint0178
      last edited by

      I have been following the instructions in the MC v2 Documentation. I believe I am getting an error in the installation of docker when I enter the following commands, as instructed (Running Raspberry Pi 4 with ARM64 and newest release of Raspberry PI OS just installed last week):

      copy the installation script

      curl -fsSL https://get.docker.com -o get-docker.sh

      execute the script

      sh get-docker.sh

      enable the docker daemon

      systemctl enable docker.service

      start the docker daemon

      systemctl start docker.service

      check the docker daemon is active

      systemctl is-active docker.service

      Here is what I get when I run that from root user:
      root@raspberrypi:/# # copy the installation script
      curl -fsSL https://get.docker.com -o get-docker.sh

      execute the script

      sh get-docker.sh

      enable the docker daemon

      systemctl enable docker.service

      start the docker daemon

      systemctl start docker.service

      check the docker daemon is active

      systemctl is-active docker.service

      Executing docker install script, commit: c2de0811708b6d9015ed1a2c80f02c9b70c8ce7b

      • sh -c apt-get update -qq >/dev/null
        W: GPG error: https://repos.influxdata.com/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
        E: The repository 'https://repos.influxdata.com/debian buster InRelease' is not signed.
        Failed to enable unit: Unit file docker.service does not exist.
        Failed to start docker.service: Unit docker.service not found.
        inactive

      As a result of this, I am not able to move on to the install of the influxdb since that gives me an error in the final step (bash: docker: command not found)

      I assume it is something really simply and silly for those of you already versed in all of this. Nonetheless, I would greatly appreciate any direction you can provide.

      W 2 Replies Last reply Reply Quote 0
      • W Offline
        wint0178 @wint0178
        last edited by

        @wint0178 does anyone know if this is an error that will prevent me from moving forward? I see that the documentation hasn't been updated in a while and am wondering if this is an issue with Raspberry Pi OS vs the release of Raspian that was in use when the original documentation was written. I'm mostly at a loss here, any help would be appreciated.

        1 Reply Last reply Reply Quote 0
        • W Offline
          wint0178 @wint0178
          last edited by

          @wint0178 I think I was able to figure this out by going to https://get.docker.com and following the Usage instructions I have copied below:

          To install the latest stable versions of Docker CLI, Docker Engine, and their

          dependencies:

          1. download the script

          $ curl -fsSL https://get.docker.com -o install-docker.sh

          2. verify the script's content

          $ cat install-docker.sh

          3. run the script with --dry-run to verify the steps it executes

          $ sh install-docker.sh --dry-run

          4. run the script either as root, or using sudo to perform the installation.

          $ sudo sh install-docker.sh

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @wint0178
            last edited by

            @wint0178 At the time of writing the document in RPI the default installation does not have docker 20.x or above. Hence I proposed this method. In your installation if you have latest version of docker, you can install with apt install... command. I think I took the steps from https://github.com/docker/docker-install

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            0

            Online

            587

            Users

            529

            Topics

            3.4k

            Posts
            Copyright © 2015-2025 MyController.org | Contributors | Localization