Quantcast
Channel: Recent Gists from vsoch
Viewing all articles
Browse latest Browse all 30

Apache with Singularity and without sudo

$
0
0
README.md

Apache with Singularity

Start with this recipe

Bootstrap: docker
From:httpd:2.4.37
%startscript
httpd-foreground

Build the container:

$ sudo singularity build apache.sif Singularity

Next, make a logs directory to bind to the host:

$ mkdir -p logs

And start the instance and bind the folder for logs.

sudo singularity instance start --bind /tmp/logs:/usr/local/apache2/logs --net --network-args "portmap=80:80/tcp" apache.sif apache

Viewing all articles
Browse latest Browse all 30

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>