May 2, 201412 yr This is posted here in case it helps anyone but also so I can store the info somewhere. If you have a fresh Unraid 6.x beta: 1) change your default boot option to use Xen/Unraid (Xen is off by default) 2) Turn on the network bridge br0 so we can share our connection to our new VM The steps are documented here: http://lime-technology.com/forum/index.php?topic=32733.0 I did not use this but there looks to be a good script to install Ubuntu 14.04 here: http://lime-technology.com/forum/index.php?topic=33132.0 Once you get Ubuntu 14.04 LTS up and running things get pretty easy. Ubuntu 14.04 LTS has Docker natively packaged. So to install Docker we just have to: $ apt-get install docker.io Now create a container. This is like inception - we are going to run an Ubuntu container, on Ubuntu, on Slackware. So pull Ubuntu down: $ sudo docker.io pull ubuntu Fire it up: $ sudo docker.io run -i -t ubuntu /bin/bash And with that command, Ubuntu is now officially in Docker, on your server. You are now inside of shell in your very own Linux container. Note: just like any shell type `exit` to exit the docker container... NOTE: Ubuntu uses docker.io as the executable name instead of just docker. This is because of a Debian/Ubuntu policy; there is already a program called “docker”. This can be changed. Here is a full install script: # Docker on Ubuntu 14.04 LTS sudo apt-get install docker.io # # if you prefer the command docker over docker.io # on Ubuntu 14.04 LTS # # Create /usr/bin/docker the Debian/Ubuntu way # (avoid conflicting with docker – System tray) sudo update-alternatives –install /usr/bin/docker docker /usr/bin/docker.io 50 # Allow bash completion for docker sudo cp -a /etc/bash_completion.d/docker{.io,} sudo sed -i 's/\(docker\)\.io/\1/g' /etc/bash_completion.d/docker # Allow zsh completion for docker sudo cp -a /usr/share/zsh/vendor-completions/_docker{.io,} sudo sed -i 's/\(docker\)\.io/\1/g' /usr/share/zsh/vendor-completions/_docker # the man page for docker sudo ln -s /usr/share/man/man1/docker{.io,}.1.gz # not really needed because docker.io is still there sudo sed -i 's/\(docker\)\.io/\1/g' /usr/share/docker.io/contrib/*.sh # Test Docker sudo docker pull ubuntu sudo docker run -i -t ubuntu /bin/bash exit
Archived
This topic is now archived and is closed to further replies.