On-premis container controller made easier

I’ve developed a compose.yml for the current container. For those familiar with docker compose, this may help you out.

services:
  control:
    image: altalabs/control:1.0d-amd64
    container_name: control-macvlan
    networks:
      control_macvlan:
        # Customize for your network
        ipv4_address: 10.166.0.10
    tmpfs:
      - /run
      - /run/lock
    volumes:
      - /sys/fs/cgroup/access.scope:/sys/fs/cgroup:rw
    extra_hosts:
      - local.manage.alta.inc:0.0.0.255
    cgroup: host
    security_opt:
      - seccomp=unconfined
    tty: true
    stdin_open: true
    restart: unless-stopped

networks:
  control_macvlan:
    name: control_macvlan
    driver: macvlan
      # Customize for your network
      # driver_opts:
        # parent: eth0.166 # VLAN 166
    ipam:
      driver: default
      config:
        # Customize for your network
        - subnet: 10.166.0.0/24
          gateway: 10.166.0.1

EDIT: I’ve updated the compose.yml to better reflect a normal setup as found in our current documentation.

2 Likes