You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
918 B
94 lines
918 B
# BASICMATT Docker Container
|
|
|
|
## Prep
|
|
|
|
Run something like:
|
|
|
|
```
|
|
export BASIC_MATT_DOCKER_MOUNT_PATH="/Users/matthuntington/Downloads"
|
|
```
|
|
|
|
to set what host dir is being mounted within the container
|
|
|
|
Create container:
|
|
|
|
```
|
|
docker compose up -d
|
|
```
|
|
|
|
start `tmux`:
|
|
|
|
```
|
|
docker compose exec main zsh -ilc tmux new -s claude
|
|
```
|
|
|
|
log into claude:
|
|
|
|
```
|
|
claude --name awesom-o
|
|
```
|
|
|
|
start remote control:
|
|
|
|
```
|
|
/remote-control
|
|
```
|
|
|
|
detach with `ctrl+b d`
|
|
|
|
reconnect with
|
|
|
|
```
|
|
docker compose exec main zsh -ilc tmux attach -t claude
|
|
```
|
|
|
|
## Commands
|
|
|
|
Build/Start
|
|
|
|
```
|
|
docker compose up -d
|
|
```
|
|
|
|
Enter with ZSH:
|
|
|
|
```
|
|
./enter-container.sh
|
|
```
|
|
|
|
List images:
|
|
|
|
```
|
|
docker images
|
|
```
|
|
|
|
List containers:
|
|
|
|
```
|
|
docker container ls -a
|
|
```
|
|
|
|
Stop container:
|
|
|
|
```
|
|
docker compose stop
|
|
```
|
|
|
|
Start container:
|
|
|
|
```
|
|
docker compose start
|
|
```
|
|
|
|
Delete container:
|
|
|
|
```
|
|
docker compose down
|
|
```
|
|
|
|
Delete everything:
|
|
|
|
```
|
|
docker compose down --rmi all
|
|
```
|