More details at: https://docs.docker.com/installation/
Download and install the latest release of the Docker for OS X Installer
boot2docker init
boot2docker start
$(boot2docker shellinit)
# centos
sudo rpm install docker
sudo service docker start
sudo chkconfig docker on
# ubuntu
sudo apt-get install docker.io
# archlinux
sudo pacman -S docker
sudo pacman systemctl start docker
sudo pacman systemctl enable docker
# add user to docker group
sudo gpasswd -a $(whoami) docker # Need re-login to make valid
wget https://raw.githubusercontent.com/chonglou/itpkg/master/tools/docker/arch/itpkg
chmod +x itpkg
First time to runing maybe take a long time(several minutes) to auto setup(generating ssl certs, random password, etc.), please wait.
./itpkg start
# optional
./itpkg ssh # password: changeme
tail -f /var/www/itpkg/install.log # see the install logging.
https://www.localhost.localdomain # default user: root changeme
https://mail.localhost.localdomain # need create a email account first.
./itpkg ssh # password: changeme
Make sure *.YOUR_DOMAIN point right.
./chdomain YOUR_DOMAIN
Enjoy it!
- Fork it ( https://github.com/chonglou/itpkg/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request