/ Linux & FreeBSD Administration

Update/Upgrade Ubuntu & docker-compose

Comments

How to upgrade and update Ubuntu ?

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo apt-get check
sudo apt-get autoclean 
sudo apt-get autoremove

How to upgrade docker-compose ?

sudo rm /usr/local/bin/docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo docker-compose -v