Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
songlinfeng
container-toolkit
Commits
d23a6a4f
Commit
d23a6a4f
authored
Dec 03, 2025
by
songlinfeng
💬
Browse files
Update README.md
parent
ec06e0b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
README.md
README.md
+1
-3
No files found.
README.md
View file @
d23a6a4f
...
@@ -303,9 +303,7 @@ docker stack deploy -c docker-compose.yml rocm-stack
...
@@ -303,9 +303,7 @@ docker stack deploy -c docker-compose.yml rocm-stack
$
dcu-ctk runtime configure
--runtime
=
containerd
--set-as-default
--cdi
.enabled
$
dcu-ctk runtime configure
--runtime
=
containerd
--set-as-default
--cdi
.enabled
$
systemctl restart containerd
$
systemctl restart containerd
```
```
若用于kubernetes,则需要配合dcu-device-plugin使用
若用于kubernetes,则需要配合
[
dcu-device-plugin
](
https://download.sourcefind.cn:65024/5/main/Kubernetes%E6%8F%92%E4%BB%B6
)
使用,若使用nerdctl命令行工具,则需要使用--runtime
https://download.sourcefind.cn:65024/5/main/Kubernetes%E6%8F%92%E4%BB%B6
若使用nerdctl命令行工具,则需要使用--runtime
```
shell
```
shell
$
nerdctl run
--rm
--runtime
dcu
-e
DCU_VISIBLE_DEVICES
=
0,1 ubuntu:18.04 bash
$
nerdctl run
--rm
--runtime
dcu
-e
DCU_VISIBLE_DEVICES
=
0,1 ubuntu:18.04 bash
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment