I'm getting permission denied when updating telegraf in chapter 5. Any advice? I tried to use sudo and usermod -aG docker $USER and login/out but it didn't work.
~/network-observability-lab$ netobs lab update telegraf-01 --scenario ch5
[04:29:45] Updating lab environment for scenario: ch5
Removing service(s): ['telegraf-01']
Running command: docker compose --project-name netobs -f chapters/ch5/docker-compose.yml --verbose rm --stop --force --volumes telegraf-01
[+] stop 1/1
✘ Container telegraf-01 Error Error while Stopping 14.1s
Error response from daemon: cannot stop container: a0c72d629157e5ec30ea6c02fafc2a6c43f9e7f0dce278fad8c59d8ccfd15e8f: permission denied
[04:29:59] Issues encountered running: remove containers
────────────────────────────────────────────────────────────────────────────────────────────────────── End of task: remove containers ───────────────────────────────────────────────────────────────────────────────────────────────────────
Starting service(s): ['telegraf-01']
Running command: docker compose --project-name netobs -f chapters/ch5/docker-compose.yml --verbose up -d --remove-orphans telegraf-01
WARN[0000] No services to build
[+] up 12/12
✘ Container netobs-prefect-server-1 Error Error while Stopping 14.4s
✘ Container alertmanager Error Error while Stopping 14.4s
✘ Container netobs-redis-1 Error Error while Stopping 14.4s
✘ Container netobs-postgres-1 Error Error while Stopping 14.3s
✘ Container nautobot-postgres Error Error while Stopping 14.4s
✘ Container loki Error Error while Stopping 14.4s
✘ Container webhook Error Error while Stopping 14.4s
✘ Container nautobot Error Error while Stopping 14.4s
✘ Container netobs-prefect-services-1 Error Error while Stopping 14.4s
✘ Container nautobot-redis Error Error while Stopping 14.4s
✘ Container grafana Error Error while Stopping 14.4s
✘ Container prometheus Error Error while Stopping 14.4s
Error response from daemon: cannot stop container: a31ab35edf9af748c580b4096f2a7e510a2f9859da4d9c4695aa708eb1731585: permission denied
[04:30:14] Issues encountered running: start stack
───────────────────────────────────────────────────────────────────────────────────────────────────────── End of task: start stack ──────────────────────────────────────────────────────────────────────────────────────────────────────────
Lab environment updated for scenario: ch5
I'm getting permission denied when updating telegraf in chapter 5. Any advice? I tried to use sudo and usermod -aG docker $USER and login/out but it didn't work.