Created
September 4, 2015 14:10
-
-
Save pastcompute/34313cd3b9e52ebda430 to your computer and use it in GitHub Desktop.
Docker stuff
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
curl -sSL https://get.docker.com/gpg | sudo apt-key add - | |
curl -sSL https://get.docker.com/ | sh | |
sudo -E sh -c docker version | |
Client: | |
Version: 1.8.1 | |
API version: 1.20 | |
Go version: go1.4.2 | |
Git commit: d12ea79 | |
Built: Thu Aug 13 02:28:37 UTC 2015 | |
OS/Arch: linux/amd64 | |
Server: | |
Version: 1.8.1 | |
API version: 1.20 | |
Go version: go1.4.2 | |
Git commit: d12ea79 | |
Built: Thu Aug 13 02:28:37 UTC 2015 | |
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 andrew | |
git clone https://github.com/Cosmiqo/docker-emon.git | |
build | |
docker run -d --name emoncms -p 8090:80 -p 3306:3306 -e MYSQL_PASSWORD="mypass" cosmiqo/emoncms | |
docker images | |
docker ps | |
docker stop 39053f1170d1 | |
docker exec 39053f1170d1 ps -ef | |
docker inspect cosmiqo/emonbase | |
docker logs | |
https://docs.docker.com/userguide/dockervolumes/ | |
To tail the logs run docker logs -f emoncms. | |
http://localhost:8090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment