This commit is contained in:
Your Name
2024-07-02 06:08:08 +00:00
parent 4081db7ce0
commit 54a2227837
4 changed files with 67 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ services:
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
- TMPDIR=/var/tmp
networks:
- network_finetune
- my-custom-bridge
deploy:
resources:
reservations:
@@ -63,7 +63,9 @@ services:
- IPC_LOCK
devices:
- /dev/infiniband:/dev/infiniband
# docker swarm init
# docker swarm join-token manager
# docker network create -d overlay --subnet=192.168.200.0/24 my-overlay-network
networks:
network_finetune:
name: network_finetune
my-custom-bridge:
external: true