...
- Search for Ubuntu image:
singularity search ubuntu
- Download latest image:
singularity pull library://library/default/ubuntu
- Notice that the image is in fact a file downloaded to your local directory:
ls -l ubuntu_latest.sif
- Run the image:
./ubuntu_latest.sif
- Notice that you are mapped to the same user as in the host machine, run
whoami
andid
- Notice that you are seeing your own
$HOME
directory from the container:ls -l
- Check what system are you currently running:
cat /etc/os-release
Info | ||||
---|---|---|---|---|
Note that while you are inside container executed by
while Marconi node will present itself as
|
uDocker
uDocker was created in H2020 project INDIGO-DataCloud. It uses Docker images natively, but provides a userspace tool to run and manage containers. Because it does not require superuser privileges, it is also a good fit as a container tool to be used in HPCs. uDocker also supports MPI calculations and provides ways to access host's GPU.
...