DockerOnUbuntu: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pre> # curl -fsSL https://get.docker.com/ | sh ... + sudo -E sh -c docker version Client: Version: 1.10.1 API version: 1.22 Go version: go1.5.3 Git commit: 9e83...") |
No edit summary |
||
Line 1: | Line 1: | ||
= Installation = | |||
<pre> | <pre> | ||
# curl -fsSL https://get.docker.com/ | sh | # curl -fsSL https://get.docker.com/ | sh | ||
Line 27: | Line 28: | ||
</pre> | </pre> | ||
= Install a container = | |||
Download a container and run bash (-i interactive, -t tty) | Download a container and run bash (-i interactive, -t tty) | ||
<pre> | <pre> | ||
$ docker run -it ubuntu bash | $ docker run -it ubuntu bash | ||
</pre> | |||
= Enable Rest API = | |||
http://www.campalus.com/enable-remote-tcp-connections-to-docker-host-running-ubuntu-15-04/ | |||
= Advanced Rest Client Application (Chrome) = | |||
<pre> | |||
http://drew-desktop:4243/images/json | |||
</pre> | </pre> |
Revision as of 01:22, 15 February 2016
Installation
# curl -fsSL https://get.docker.com/ | sh ... + sudo -E sh -c docker version Client: Version: 1.10.1 API version: 1.22 Go version: go1.5.3 Git commit: 9e83765 Built: Thu Feb 11 19:32:54 2016 OS/Arch: linux/amd64 Server: Version: 1.10.1 API version: 1.22 Go version: go1.5.3 Git commit: 9e83765 Built: Thu Feb 11 19:32:54 2016 OS/Arch: linux/amd64 If you would like to use Docker as a non-root user, you should now consider adding your user to the "docker" group with something like: sudo usermod -aG docker drew Remember that you will have to log out and back in for this to take effect!
Install a container
Download a container and run bash (-i interactive, -t tty)
$ docker run -it ubuntu bash
Enable Rest API
http://www.campalus.com/enable-remote-tcp-connections-to-docker-host-running-ubuntu-15-04/
Advanced Rest Client Application (Chrome)
http://drew-desktop:4243/images/json