https://github.com/starefossen/docker-tutorial
Docker tutorial repository for Bergen LUG talk
https://github.com/starefossen/docker-tutorial
Last synced: 3 months ago
JSON representation
Docker tutorial repository for Bergen LUG talk
- Host: GitHub
- URL: https://github.com/starefossen/docker-tutorial
- Owner: Starefossen
- License: mit
- Created: 2015-09-24T09:19:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T09:30:19.000Z (over 9 years ago)
- Last Synced: 2025-03-14T19:01:34.893Z (3 months ago)
- Language: Python
- Homepage: http://www.blug.linux.no/docker-turistforeningen/
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Vanilla Docker
```bash
$ docker build -t training/webapp .
$ docker pull postgres$ docker run --rm -d --name db postgres
$ docker run --rm \
--link db:db \
--publish 8000:8000 \
training/webapp python manage.py runserver 0.0.0.0:8000
```## Docker Compose
```bash
$ docker-compose up
```