Mi libretilla.
Docker: Manage Docker as a non-root user
To run Docker without root privileges:# 1. Create the docker group
sudo groupadd docker
# 2. Add your user to the docker group.
sudo usermod -aG docker $USER
# 3. Log out and log back in so that your group membership
# is re-evaluated. You can also run the following command
# to activate the changes to groups:
newgrp docker
# 4. Check permissions or run next step.
sudo chown -R "$USER":"$USER" /home/"$USER"/.docker
sudo chmod -R g+rwx "$HOME/.docker"
Docker: To start on boot with systemd
To automatically start Docker and containerd on boot for other Linux distributions using systemd, run the following commands:sudo systemctl enable docker.service
sudo systemctl enable containerd.service
To stop this behavior, use disable instead.sudo systemctl disable docker.service
sudo systemctl disable containerd.service
Docker: buildx
Steps:docker buildx create --name ourbuilder
docker buildx create use ourbuilder
docker buildx build --platform linux/amd64 -t mothur_v1_48:latest . --load
Dockerfile. (the design was quite simple)1FROM ubuntu:23.04
2
3RUN apt-get update
4RUN apt-get install -y wget mothur && rm -rf /var/lib/apt/lists/*
Clam AV: Usos
Update:freshclam -v
Ejecutarloclamscan -r --bell -i ./*
El laberinto del minotauro
Hecho un finde con gracias a MoureDev by Brais Moure