Skip to content

Instantly share code, notes, and snippets.

@JeremyOttley
Created August 26, 2017 03:53
Show Gist options
  • Select an option

  • Save JeremyOttley/92a7636a968d55425af31f7540a73fd8 to your computer and use it in GitHub Desktop.

Select an option

Save JeremyOttley/92a7636a968d55425af31f7540a73fd8 to your computer and use it in GitHub Desktop.
### 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