Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bartko-s/docker-examples
https://github.com/bartko-s/docker-examples
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bartko-s/docker-examples
- Owner: bartko-s
- Created: 2019-01-09T18:49:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T21:30:39.000Z (almost 4 years ago)
- Last Synced: 2024-11-10T02:14:03.851Z (2 months ago)
- Language: Dockerfile
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Examples
Build
```
docker-compose build
```Run
```
docker-compose up
```Stop
```
docker-compose down
```Where is docker volumes located
```
/var/lib/docker/volumes/
```Connect to the running container with shell
```
docker exec -it "container id" bash// or
docker-compose exec "service-name" bash
// or run as specific user
docker-compose exec --user "user" "service-name" bash
```