youtube-cli/docs/docker-setup.md
Jarian Cottingham 3c5b10466a chore: clean repo for public release
- Remove runtime artifacts (app.log, .DS_Store, committed home dir data)
- Remove AI session notes (prompt.md, agent.md, LOGGING_*.md)
- Move TUI.md, structure.md, docker-setup.md to docs/
- Normalize author metadata to Jarian Cottingham
- Fix hardcoded personal paths in gunicorn config and manual test script
- Pin textual <2.0 (8.x grid layout breaks TUI rendering)
- Fix stale tests: private attr access, missing screen push
- Add CI workflow (ruff + pytest, Python 3.10-3.12)
2026-08-20 21:03:50 +00:00

1.0 KiB

Docker No-Sudo Setup Guide

To run Docker commands without sudo, you need to add your user to the docker group. Here's how to do it:

Add User to Docker Group

sudo usermod -aG docker $USER

Apply Group Changes

After adding to the group, you need to either:

  1. Log out and log back in, or
  2. Run this command to apply changes without logging out:
newgrp docker

Verify Setup

Check that you can run Docker commands without sudo:

docker info

Alternative: Create Docker Socket Permissions

If you prefer not to add users to groups, you can modify socket permissions:

sudo chmod 666 /var/run/docker.sock

Security Note

Adding users to the docker group provides full Docker daemon access. This is equivalent to having root access, so only add trusted users to this group.

Persistent Setup

To make this change persistent across reboots:

  1. Ensure the docker service is enabled: sudo systemctl enable docker
  2. The group membership will persist after reboot