https://github.com/purpleidea/docker-simple1
Simple docker app (used as an example in omv)
https://github.com/purpleidea/docker-simple1
Last synced: 3 months ago
JSON representation
Simple docker app (used as an example in omv)
- Host: GitHub
- URL: https://github.com/purpleidea/docker-simple1
- Owner: purpleidea
- Created: 2015-04-08T08:40:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-26T21:58:38.000Z (about 10 years ago)
- Last Synced: 2025-02-14T08:17:13.363Z (5 months ago)
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This repository contains an example template for a Docker application.
It is used to demonstrate the power of oh-my-vagrant!Here are some useful commands.
docker images # see what images exist
docker ps # see what's running
docker run docker-simple1 # run the container interactively
cid=$(docker ps | grep docker-simple1 | awk '{print $1}' | head -1) # id
cip=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' $cid)
wget -q $cip:8000/README -O - # read output from fileHappy hacking!
James