Nearly what I want...
This commit is contained in:
parent
1e5b47b0cd
commit
22c77ae08e
3 changed files with 31 additions and 13 deletions
|
|
@ -1,10 +1,19 @@
|
|||
services:
|
||||
rusty:
|
||||
image: rusty
|
||||
entrypoint: /bin/zsh
|
||||
environment:
|
||||
- HOME=/root
|
||||
- SHELL=/bin/zsh
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: rusty
|
||||
#tty: true
|
||||
#volumes:
|
||||
# - ./root:/root:rw
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
- ./home:/home:rw
|
||||
- ./root:/root:rw
|
||||
network_mode: host
|
||||
hostname: rusty
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue