aiidalab / aiidalab/aiidalab-docker-stack

Run a containerized code inside AiiDAlab via aiida-core

Đang mở
#258 2 bình luận 0 reaction 1 người được giao Được @unkcpz nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
10
Fork
15
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
3

Mô tả

Since we will soon have aiida-core support to running containerized code installed in the docker/Singularity/Sarus, it is a good idea to have aiidalab to also support this.
However, the aiidalab is running as the container, it is not naturally supported to run docker inside the docker container.
There are essentially three ways to do this https://devopscube.com/run-docker-in-docker/:

- using /var/run/docker.sock mapped to container
- using `docker:dind` base image.
- using Sysbox runtime VM support https://github.com/nestybox/sysbox

I think for the containerized code, running code on docker has many limitations such as no decent MPI support, and output files of the docker containerized code belong to root use which can not be deleted without `sudo`.
The better way would be to have Singularity installed and supported in the aiidalab container.

But it worth to have a look at the `sysbox` image which has many high level feature supported to make the container more like a VM. It can enable Docker-in-Docker and Kubernetes-in-Docker etc.
It is easy to installed on Linux hosts and then can be used by `docker run --runtime=sysbox-runc -it ...`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.