docker system prune -a

docker run --restart=always -p 80:80 -v /home/futszak/www/:/app --name=www -d webdevops/php-apache:alpine
docker run --name nginx -p 80:80 -d nginx
docker cp nginx:/etc/nginx/nginx.conf nginx/nginx.conf - config do pliku zew
docker exec -it nginx bash - wejsciedo bash-a w kontenerze
docker logs -f nginx - logi
docker run --name mysql -v /home/futszak/mysql.data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=napa -d mysql
docker run --name myadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin

docker-compose build docker-compose up --build
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id docker-compose run django bash
docker-compose pull - uaktualnienie
docker pull wordpress

docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' grafana
docker run -d -p 20:20 -p 21:21 -e FTP_LIST="futszak:dupafuryba" -v /home/futszak/ftp/:/home/futszak kibatic/proftpd

Install docker on Debian
sudo 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-agent software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker ${USER}
sudo docker run hello-world

docker exec -i lms_db mysql -u root -psupertajnehaslo databasename < database.sql
docker run --rm naqoda/mysql-client mysql --host=dbhost --user=user --password=password --database=dbase --execute='show tables;'