# Start the gateway container, listening on port 8080
# Mount the data directory to persist the gateway's state (config files, etc)
docker run \
-d -p 3673:8080 \
-v ./data:/root/.director \
--name director \
barnaby/director:latest
# Tail the logs
docker logs -f director
# Interact with the gateway using the CLI, on the host machine
director create my-playbook
director add my-playbook --entry fetch
director connect my-playbook # print connection details