Using Containers on Theta
[Pages:29]Using Containers on Theta
J. Taylor Childers
SIMULATION.DATA.LEARNING WORKSHOP
Quick Introduction
2 Argonne Leadership Computing Facility
Quick Introduction
Both Require: ? Hardware ? Host Operating System ? Hypervisor or Engine ? System libraries ? Target Application
3 Argonne Leadership Computing Facility
Quick Introduction
Both Require: ? Hardware ? Host Operating System ? Hypervisor or Engine ? System libraries ? Target Application Main Difference: ? VMs require entire internal
operating system ? VMs virtualize system
hardware
4 Argonne Leadership Computing Facility
Quick Introduction
Containers use host kernel making them lighter weight, quicker to deploy.
5 Argonne Leadership Computing Facility
Quick Introduction
Containers use host kernel making them lighter weight, quicker to deploy.
IBM Performance Tests "In general, Docker equals or exceeds KVM performance in every case we tested. Our results show that both KVM and Docker introduce negligible overhead for CPU and memory performance (except in extreme cases). For I/O intensive workloads, both forms of virtualization should be used carefully."
6 Argonne Leadership Computing Facility
Docker vs Singularity
? Docker and Singularity are both container frameworks
? Both are easy to use and deploy ? Why not Docker on Theta?
? Applications run as root inside container ? Since containers can mount host folders,
container can mount local filesystem as root with all the access privileges ? Perhaps OK if you are Google and have no outside users running apps on your system ? This is not OK for DOE user facilities ? Singularity containers run as the user and cannot escalate privileges ? Otherwise come with all the benefits of Docker
7 Argonne Leadership Computing Facility
Singularity Usage on
Building Containers: ? Singularity containers should be built from base images ? Base images can be found on
? ? ? Example build commands:
thetalogin5:~> singularity build myubuntu.img docker://ubuntu thetalogin5:~> singularity build myubuntu.img shub://singularityhub/ubuntu
? This can be done on a Theta login node if you can use base images produced by Docker or Singularity.
? There is a known bug in Singularity which causes user uploaded images to fail with `permission denied' errors:
thetalogin5:~> singularity build myubuntu.img docker://jtchilders/mpitest:latest
? This succeeds if you have `sudo' rights, therefore...
8 Argonne Leadership Computing Facility
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- dynamic static libraries in linux university of utah
- bash make get request
- accessing the pps near real time data using https and the
- using containers on theta
- bash tools programming concepts and lecture 5 scripting with
- accessing the pps production archive using https and the
- cs2043 unix tools scripting lecture 3 making bash work
Related searches
- using frontline on kittens
- using python on windows 10
- using bash on windows
- using pip on windows 10
- using node on windows
- screenshot on computer using ctrl key
- how to sum on excel using words
- sin 2 theta sin theta cos theta
- using old tin on walls
- using corrugated tin on walls
- using 401k for down payment on home
- research on using graphic organizers