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

https://github.com/jonathanbeber/docker-playground


https://github.com/jonathanbeber/docker-playground

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Docker Playground

## Some examples

### Updating Dockerfile after changes, you need run:

```sh
[sudo] docker build -t user/project:tag .
```

Where `user/project:tag` is an alias to run your Docker container.

`user/project` can be your own Dockerhub user and project name, and `:tag` is an alias that can be the version of your project.

After that, you can run this with command:

```sh
[sudo] docker run user/project:tag
```

### Mounting directories

```
[sudo] docker run -v /home/user/host_dir:/docker/image/dir docker_image
```
Where `/home/user/host_dir` is the directory's path (must be full path) that gonna be mounted into the docker's image in `/docker/image/dir`.

## Links

- [GUI apps with docker :shipit:](http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/)
- [Docker for DevOps: From development to production](https://www.kickstarter.com/projects/nickjj/docker-for-devops-from-development-to-production)
- [Bash style](https://github.com/progrium/bashstyle)