dwyl / learn-docker

🚢 Learn how to use docker.io containers to consistently deploy your apps on any infrastructure.
234 stars 32 forks source link

Docker installation script on Debian #18

Open yousefvand opened 5 years ago

yousefvand commented 5 years ago

Attached is a script for easy installation of Docker CE on Debian machines. It will automatically detect the latest version and install docker and docker-compose. Since I don't know the structure of this repo enough, just shared it here. If there is a tutorial repo for bash scripting I have a book to share with community.

install-docker.sh.zip

nelsonic commented 5 years ago

@yousefvand thanks for sharing the .zip any chance you can paste the code in-line in the comment or link to a plaintext version (e.g: a "gist") so people can read the code without having to download it (e.g: people using a mobile device who want to read it, but don't have a computer with unzip facilities_...)

yousefvand commented 5 years ago

@nelsonic Sure. Here is the link but you can directly use the script in current project. It worth mentioning due to a bug in docker on Debian, a reboot is needed after installation.