base-dev/docker-compose.yaml
2023-03-27 01:56:02 +08:00

27 lines
500 B
YAML

version: '3.5'
services:
alpine:
container_name: dev
image: alpine:dev
build:
context: ./alpine
hostname: dev
volumes:
- ${DIR}/alpine/root:/root
- ${HOME}/.ssh:/root/host/.ssh
networks:
- dev
command: tail -f /dev/null
restart: always
super_docker:
container_name: super_docker
image: justincormack/nsenter1:latest
restart: always
networks:
- dev
command: tail -f /dev/null
networks:
dev:
driver: bridge