Updated Run acme.sh in docker (markdown)

GC Chen 2024-07-11 10:10:19 +08:00
parent 88291404cd
commit 94c7ebab86

@ -69,8 +69,23 @@ docker run --rm -itd \
--name=acme.sh \
neilpang/acme.sh daemon
```
Or run acme.sh by using `Docker Compose`:
```yaml
services:
acme-sh:
image: neilpang/acme.sh
container_name: acme.sh
volumes:
- ./out:/acme.sh
network_mode: host
command: daemon
stdin_open: true
tty: true
restart: no
```
```sh
docker compose up -d
```
### 2. Then you can just use `docker exec` to execute any acme.sh commands.