version: '3.5' services: alpine: container_name: dev image: alpine:dev build: context: ./alpine hostname: dev volumes: - ${DIR}/alpine/root:/root - ${HOME}/atcode:/root/atcode - ${HOME}/.ssh:/root/.ssh - ${HOME}/.zsh_history:/root/.zsh_history - ${HOME}/.zshrc:/root/.zshrc - ${HOME}/.alias.d:/root/.alias.d - ${HOME}/.p10k.zsh:/root/.p10k.zsh - ${HOME}/.oh-my-zsh:/root/.oh-my-zsh networks: - dev command: tail -f /dev/null restart: always dev-super: profiles: ["super"] container_name: dev-super image: super:dev privileged: true pid: host build: context: ./super restart: always networks: - dev go-alpine: container_name: go-dev image: golang-local:dev build: context: ./go hostname: dev volumes: - ${DIR}/go/root:/root - ${DEV_DIR}:/root/atcode - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro network_mode: host command: tail -f /dev/null restart: always environment: TZ: TERM: networks: dev: driver: bridge name: dev