Skip to main content
A handy reference for managing an OTee edge deployment (the vPLC agent + NATS) with Docker on a Linux edge device.
Note on names: OTee’s compose project and containers are named per device (e.g. agent_<device>, nats-nats_<device>, agent-agent_<device>). Run docker ps -a to see the exact names on your machine, and substitute them below.

Check status

Start, stop, restart

Tip: restart reuses the existing container environment. If you’ve changed config or timezone, use down then up -d so the change is actually picked up.

Run Docker without sudo

If Docker asks for sudo, your user isn’t in the docker group yet:
Then log out and back in (or reboot) for it to take effect.

Full clean wipe (for a fresh install)

Order matters- remove containers before images. Stopped containers still hold image references, so docker rmi fails if you skip the container removal step.
Verify it’s clean:

Install Docker (Debian-based devices)

Troubleshooting a container that won’t start

Check the logs first, most start-up failures point to their cause there. If the container relies on time-sensitive services, make sure the device clock is synced (timedatectl / chronyc tracking) before retrying.