mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-06-06 21:31:55 +00:00
update, support network alias
This commit is contained in:
parent
84dac98ccc
commit
694dcf2b08
@ -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'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user