marzo 7

Docker-Compose

Comandos para instalar docker-compose:

  • apt-get remove docker docker-engine docker.io containerd runc
  • sudo apt-get update

sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg

  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo \
«deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable» | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

  • apt-get install docker-ce docker-ce-cli containerd.io
  • curl -L «https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)» -o /usr/local/bin/docker-compose
  • chmod +x /usr/local/bin/docker-compose
  • mkdir /usr/local/bin/docker-compose.yml
  • cd /usr/local/bin/
  • apt install git
  • git clone https://github.com/Titogus/IOTstack
  • cd IOTstack
  • ./menu.sh
Categoría: Gen-10, Proxmox, Raspberry-Pi, Servidor web | Comentarios desactivados en Docker-Compose