docker 27.3.1

0001-01-01


Description

The Docker CLI

Homepage

https://mobyproject.org/

Install

uniget install docker

Dependencies

Code

See code on GitHub

Package

See package on GitHub

Platforms

  • linux/amd64
  • linux/arm64

Messages

internals

  • Binaries (except docker) are installed into {{ .Target }}/libexec/docker/bin
  • SystemD units and init scripts are modified to perfer binaries from this directory
  • The cgroup drive is to systemd if SystemD is used
  • The BuildKit builder is enabled by default
  • The containerd image store is enabled by default
  • runc is configured as the default runtime
  • If installed in a container, the storage driver is set to fuse-overlayfs
  • Existing settings are not changed
  • For CLI plugins: mkdir -p ~/.docker && ln -sfr ~/.local/libexec/docker/cli-plugins ~/.docker/

update

  • You need to create a group to delegate the Docker socket to users:

    groupadd --system --force docker
    
  • Because of socket activation you need to configure the units:

      systemctl daemon-reload
      systemctl disable docker.service
      systemctl enable docker.socket
      systemctl start docker.socket
    
  • If you require a custom address pool to avoid IP address conflict, merge the following into /etc/docker/daemon.json after substituting your IP range and subnet size:

    {
        "default-address-pool": [
            {
                "base": "172.16.0.0/12"
                "size": 24
            }
        ]
    }
    
  • If you require a registry mirror, merge the following into /etc/docker/daemon.json after substituting your mirror URL:

    {
        "registry-mirrors": [
            "https://mirror.example.com"
        ]
    }
    
  • You need to restart the Docker daemon to apply chages to daemon.json

History

Link