docker-compose

Docker-Compose

apt-get install curl
sudo apt-get install curl
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
sudo docker-compose --version
docker-compose --version
apt-get install docker.io
sudo apt-get install docker.io
nano docker.sh
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get install curl vnstat iftop htop mc wget -y
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version
apt-get install docker.io -y
apt-get autoremove -y
apt-get autoclean -y
chmod +x docker.sh
./docker.sh
  • docker-compose.txt
  • Zuletzt geändert: 2021/12/22 09:59
  • von Fabian Horst