Created
August 26, 2017 03:53
-
-
Save JeremyOttley/92a7636a968d55425af31f7540a73fd8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### DOCKER ### | |
| # Choose one of the first two options, then comment out the other | |
| # set up docker from source | |
| curl -fsSL get.docker.com -o get-docker.sh | |
| sh get-docker.sh | |
| # set up cocker from repository | |
| sudo dnf -y install dnf-plugins-core | |
| sudo dnf config-manager \ | |
| --add-repo \ | |
| https://download.docker.com/linux/fedora/docker-ce.repo | |
| sudo dnf update | |
| sudo dnf makeache fast | |
| sudo dnf -y install docker-ce | |
| # Init | |
| sudo systemctl start docker | |
| sudo docker run hello-world | |
| ### ONCE IN DOCKER ### | |
| # install rubinius | |
| docker pull rubinius/docker | |
| docker run -it rubinius/docker bash | |
| # once in docker shell | |
| ruby -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment