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.
62 lines
589 B
62 lines
589 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
|
|
|
|
## 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
|
|
```
|