Skip to content
Snippets Groups Projects
Commit 644b7952 authored by COLIN Éloi's avatar COLIN Éloi :tea:
Browse files

now there is a compose

parent 6bbfe97d
Branches
2 merge requests!3Docker compose, vim and tmuxp (for ex 1, 2, 3 and 4 learning cpu),!2Docker compose, vim and first tmuxp (ex 1,2, and start of 3)
......@@ -68,3 +68,10 @@ sh run.sh
```
Instead of `tmux` (as in the `sh` script - check inside), you can rely on `docker exec -it resprog bash` to open new `tty` (for the `mx` or the controller' commands in particular).
## Run the container (with :sparkles: *Compose* :sparkles:)
To run the container with compose simply use :
```sh
$ docker-compose run --rm p4
```
services:
p4:
container_name: resprog
# image: "registry.app.unistra.fr/jr.luttringer/reseaux-programmables-conteneur/p4-utils"
image: "p4-utils"
volumes:
# - type: bind
# source: ./tmuxp/
# target: /tmuxp/
- type: bind
source: .
target: /home/
privileged: true
stdin_open: true
tty: true
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment