Commit 5c977e51 authored by David Blyth's avatar David Blyth

README: More information on using the image

parent 61750a66
......@@ -15,16 +15,33 @@ variety of uses in the context of EIC studies at ANL.
# Using the image
## Docker
Example:
```shell
docker run -it argonneeic/base
```
See Docker documentation for more command line options.
See [Docker
documentation](https://docs.docker.com/engine/reference/commandline/cli/) for
more command line options.
## Singularity
Singularity v2.3+ is recommended. If compactness of the image is a priority,
use v2.4+.
Example:
```shell
singularity pull docker://argonneeic/base
./base.img
```
Please see [the singularity
documentation](http://singularity.lbl.gov/quickstart) for more information.
In the above scenario, by default the user's `.bashrc` file will be executed
upon starting the container. This can cause problems in some cases. If it
seems that the environment is being negatively affected by the user's
`.bashrc`, one may avoid executing the script like so:
```shell
singularity exec base.img bash --norc
```
# Building the image
Example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment