https://github.com/hopsoft/docker_up
Get up & running with Docker fast
https://github.com/hopsoft/docker_up
Last synced: 6 months ago
JSON representation
Get up & running with Docker fast
- Host: GitHub
- URL: https://github.com/hopsoft/docker_up
- Owner: hopsoft
- License: mit
- Created: 2013-09-14T16:03:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-13T23:05:12.000Z (over 11 years ago)
- Last Synced: 2025-02-09T15:25:53.391Z (8 months ago)
- Language: Shell
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# DockerUp
Get up and running with [Docker](http://www.docker.io/) in no time flat.
## Requirements
* [Virtual Box](https://www.virtualbox.org/)
* [Vagrant](http://www.vagrantup.com/)Note: This project uses the **trusty** box provided by Ubuntu.
## Usage
```shell
git clone git@github.com:hopsoft/docker_up.git
cd docker_up
vagrant up
vagrant ssh
docker -v
```### Hello World
Note: The the first run downloads the Docker image. Subsequent runs are much faster.
```shell
sudo docker run ubuntu echo 'Hello from inside a Docker container!'
```### Build and run an Image from a Dockerfile
In this example we create a Docker image named `example/hello`, then run the `hello` command in the container.
```shell
sudo docker build -t example/hello /vagrant
sudo docker run example/hello
```__Thats it!__
Poke around the project to see just how easy this stuff is.Now start writing some [Dockerfiles](http://docs.docker.com/reference/builder/).