You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pamac install docker
# Start the Docker service
$ sudo systemctl start docker.service
# Make sure the Docker service keeps running after we restart the PC
$ sudo systemctl enable docker.service
# Check if it's working
$ sudo docker version
# Install some extras you probably want# (for docker-compose)
$ pamac install docker-compose
# (for BuildKit build layer caching)
$ pamac install docker-buildx
You probably also want to pamac install docker-buildx otherwise, you will run into the following error when using Docker BuildKit (Docker build layer caching):
ERROR: BuildKit is enabled but the buildx component is missing or broken.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Run Docker without root
By default, you’ll have to use sudo or login to root anytime you want to run a Docker command. This next step is optional, but if you’d prefer the ability to run Docker as your current user, add your account to the docker group with this command:
$ sudo usermod -aG docker $USER
You’ll need to reboot your system for those changes to take effect. [or you can just logout and log back in]
Install Docker
You probably also want to
pamac install docker-buildx
otherwise, you will run into the following error when using Docker BuildKit (Docker build layer caching):Run Docker without root
The text was updated successfully, but these errors were encountered: