Newer
Older
Dockerfiles / docker-compose.yml

services:
  cockpit-ws:
    image: cockpit-ws:latest
    container_name: cockpit-ws
    hostname: cockpit.localdomain
    volumes:
      # Authentication
      - /etc/passwd:/etc/passwd:ro
      - /etc/group:/etc/group:ro
      - /etc/shadow:/etc/shadow:ro
      # Docker access
      - /var/run/docker.sock:/var/run/docker.sock
      # Dummy home directories
      - /var/run/cockpit-ws/home:/home
    restart: always
    privileged: true
    ports:
      - "9092:9092"