Coder Social home page Coder Social logo

dockerinstall's Introduction

Platform: Linux Dependencies: BASH Version: Latest Follow @rubynorails on Twitter

logo

The Almost Universal Docker Installer

Why this script is better than the official Docker Convenience Scripts:

  • It installs latest STABLE release (instead of Edge or Testing release).
  • It has the ability to re-install or uninstall previous Docker installations.
  • It has the ability to install Homebrew for MacOS with Docker Desktop installed via Cask.
  • I created it before there were ever any official convenience scripts, so it's got a good track record.

I've never tried the official convenience scripts, because I have no reason to install an unstable version of Docker.

I can't say for sure, because I've never even looked at Docker's convenience scripts, but I would be genuinely surprised if they supported MacOS, Kali, and Arch.


Tested and Supported Operating Systems:

  • MacOS 10.8+
  • Ubuntu
  • Debian 8+
  • Raspbian 8+
  • Centos/RHEL/Amazon Linux
  • Fedora 30+
  • Arch
  • Kali 2018+

Interactive Installation

git clone https://github.com/phx/dockerinstall.git
cd dockerinstall
./install_docker.sh --interactive

Passive Installation Methods

  • curl -fsSL https://tinyurl.com/dockerinstaller | bash
  • wget -O - https://tinyurl.com/dockerinstaller 2>/dev/null | bash
  • curl -fsSL https://raw.githubusercontent.com/phx/dockerinstall/master/install_docker.sh | bash
  • wget -O - https://raw.githubusercontent.com/phx/dockerinstall/master/install_docker.sh 2>/dev/null | bash

or the safer alternative:

git clone https://github.com/phx/dockerinstall.git
cd dockerinstall
./install_docker.sh

Usage

Usage: ./install_docker.sh [--interactive | --with-compose]
Installs Docker and/or docker-compose on supported Linux distributions.

--interactive	Allows more installation options.

--with-compose	Additionally installs docker-compose.

--help	        Shows this help dialog.

If run without parameters, docker will be installed,
the current user will be added to the docker group,
and docker will be enabled to start on boot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.