Files
Docker/README.md
T
2022-12-13 11:08:30 +00:00

50 lines
691 B
Markdown

# Docker
## Hosting
### Step 1 - Setup
Make sure the following dependencies are met:
- `git`
- `curl`
- `jq`
### Step 2 - Configure
Clone the repo
```sh
git clone https://codeberg.org/Hyperpipe/Docker
cd Docker
```
Make the setup script executable
```sh
chmod u+x gen.sh
```
Run the setup script
```sh
./gen.sh
```
### Step 3 - Docker
*Run the following commands as root*
Start the container
```sh
docker-compose up
```
## Cleaning
***WARNING: The following command will remove ALL existing docker images that are not currently running***
*Run the following commands as root*
```sh
# docker system prune -a
# docker volume prune
# docker network prune
# docker image prune
```