Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Docker #28

Closed
MadLittleMods opened this issue May 11, 2023 · 0 comments
Closed

Install Docker #28

MadLittleMods opened this issue May 11, 2023 · 0 comments

Comments

@MadLittleMods
Copy link
Owner

MadLittleMods commented May 11, 2023

Install Docker

$ 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]

-- https://linuxconfig.org/manjaro-linux-docker-installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant