Let's secure your containers

Docker Compose

1. Login to the server you wish to install Phonito on via SSH
2. Get an API token from https://phonito.io/setup
3. Edit your `docker-compose.yml` configuration to include the config below
4. Deploy by running `docker-compose up`
5. Verify that Phonito is working by running `docker ps` and verifying that `phonito-scanner` is running

version: "3"

services:
  phonito:
    image: phonito/scanner
    network_mode: host
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /:/hostfs:ro
    environment:
      - PHONITO_API_TOKEN="GET YOUR API TOKEN HERE https://phonito.io/setup"
    cap_add:
      - SYS_ADMIN
      - SYS_PTRACE
    restart_policy:
      condition: unless-stopped
Get Started For Free

Copyright Phonito 2019