定制的ArchLinux镜像,用于部署用途。
dockerfiles
This is a repository contaning the open-source docker images provided by Iterait a.s.
We use nvidia-docker instead of regular docker in order to enhance GPU support. However, regular docker might be used as well.
DockerHub
All built images are stored in https://hub.docker.com/r/iterait/.
| CPU-only image | GPU enabled image | Description |
|---|---|---|
iterait/archlinux:latest | iterait/archlinux:cuda | Base ArchLinux setup with yay. |
iterait/archlinux-dev:latest | iterait/archlinux-dev:cuda | iterait/archlinux + base-devel. |
iterait/tensorflow:latest | iterait/tensorflow:cuda | iterait/archlinux + tensorflow. |
Build
All images may be built by regular docker build process.
bash$ docker build -t <image-name> -f <dockerfile> --squash .
If you require NVIDIA CUDA support, build the image with tag=cuda build argument.
bash$ docker build --build-arg tag=cuda -t <image-name>:cuda -f <dockerfile> .
Run
Running the container without GPU support is straightforward.
bash$ docker run -it <image-name> /bin/bash
To run the container with GPU support, we recommend using nvidia-docker.
The following example demonstrates the employment of two GPUs and executing bash.
bash$ docker run --runtime=nvidia \ -e NVIDIA_VISIBLE_DEVICES=0,1 \ -it <image-name>:cuda /bin/bash
更多相关 Docker 镜像与资源
以下是 iterait/archlinux 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 archlinux 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务