Skip to content

Commit

Permalink
Merge pull request #12 from jrha/underlay
Browse files Browse the repository at this point in the history
Enable Singularity underlay support
  • Loading branch information
jopekelly authored Apr 9, 2019
2 parents 52dd8ed + 5f1a644 commit cc1e86f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker-c6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ RUN yummy singularity-2.6.1-1.1.el6.x86_64 \
singularity-runtime-2.6.1-1.1.el6.x86_64

# Disable overlay and loop device management in singularity
RUN sed -i '/enable overlay/c\enable overlay = no' /etc/singularity/singularity.conf

RUN sed -i '/max loop devices/c\max loop devices = 0' /etc/singularity/singularity.conf
RUN sed -i '/enable overlay/c\enable overlay = no' /etc/singularity/singularity.conf && \
sed -i '/enable underlay/c\enable underlay = yes' /etc/singularity/singularity.conf && \
sed -i '/max loop devices/c\max loop devices = 0' /etc/singularity/singularity.conf

# Update & cleanup
RUN yum -y update && \
Expand Down
6 changes: 3 additions & 3 deletions docker-c7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ RUN yummy singularity-2.6.1-1.1.el7.x86_64 \
singularity-runtime-2.6.1-1.1.el7.x86_64

# Disable overlay and loop device management in singularity
RUN sed -i '/enable overlay/c\enable overlay = no' /etc/singularity/singularity.conf

RUN sed -i '/max loop devices/c\max loop devices = 0' /etc/singularity/singularity.conf
RUN sed -i '/enable overlay/c\enable overlay = no' /etc/singularity/singularity.conf && \
sed -i '/enable underlay/c\enable underlay = yes' /etc/singularity/singularity.conf && \
sed -i '/max loop devices/c\max loop devices = 0' /etc/singularity/singularity.conf

# Update & cleanup
RUN yum -y update && \
Expand Down

0 comments on commit cc1e86f

Please sign in to comment.