# Docker Images Repo repo for storage any useful SaaS oriented on containers -> Enjoy! ## Docker & Docker Compose Installation firstly you need docker: ```bash apt-get install docker.io yum install docker.io pacman -S docker ``` next step is docker-compose installation: ```bash 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 sudo chmod +x /usr/local/bin/docker-compose docker-compose --version ``` ## Docker & Docker Compose Configure you can use docker / docker-compose with sudo but you can add your user to ```docker``` group, and use docker straightly, like that: ```bash sudo groupadd docker sudo usermod -aG docker $USER ``` also important thing is configure systemctl for running docker on boot with systemd: ```bash sudo systemctl enable docker.service && sudo systemctl enable docker sudo systemctl start docker sudo systemctl status docker ``` otherwise you can disable docker auto runner with systemd: ```bash sudo systemctl disable docker.service && sudo systemctl disable docker ``` ## Docker Cleaning you can clean docker objects separetly, but removing every objects are more comfortable: ```bash docker system prune --volumes ```