in this section, we show how to assign an externally created network in docker run, but leave it out completely in the compose snip.
pull/2/head
driz 2024-07-30 11:20:48 -04:00 zatwierdzone przez GitHub
rodzic 7fe35ee977
commit 7932a594c0
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -234,6 +234,8 @@ services:
container_name: swag
cap_add:
- NET_ADMIN
networks:
- lsio
environment:
- PUID=1000
- PGID=1000