mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-12-13 05:26:43 +00:00
update, support network alias
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# YAO-agent
|
||||
|
||||
https://docker-py.readthedocs.io/en/stable/containers.html
|
||||
|
||||
```bash
|
||||
bin/kafka-topics.sh \
|
||||
--create \
|
||||
|
||||
2
test.py
2
test.py
@@ -90,7 +90,7 @@ def create_container():
|
||||
hostname='node1',
|
||||
detach=True,
|
||||
host_config=host_config,
|
||||
environment = {"repo": docker_workspace, "NVIDIA_VISIBLE_DEVICES": docker_gpus},
|
||||
environment = {"repo": '', "NVIDIA_VISIBLE_DEVICES": '0'},
|
||||
networking_config=networking_config,
|
||||
runtime='nvidia'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user