Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/purpleidea/docker-simple1

Simple docker app (used as an example in omv)
https://github.com/purpleidea/docker-simple1

Last synced: 14 days ago
JSON representation

Simple docker app (used as an example in omv)

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 file

Happy hacking!
James