Skip to content

Conversation

@hartzell
Copy link
Contributor

@hartzell hartzell commented Aug 2, 2017

There is no docker -ps command. The docker ps subcommand lists containers. The docker history subcommand will list the layers, like so:

hartzelg@blah:~$ docker history hartzelg/cime
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
7185c64fa2a5        5 months ago        /bin/sh -c #(nop) VOLUME [/cime_config.yaml]    0 B
fd53e85b356b        5 months ago        /bin/sh -c #(nop) VOLUME [/var/jenkins_home]    0 B
b50f22ae6ec1        5 months ago        /bin/sh -c #(nop) COPY file:fb917d778dfa959bb   10.11 kB
[...]

There is no `docker -ps` command.  The docker `ps` subcommand lists containers.  The docker `history` subcommand will list the layers, like so:

```
hartzelg@blah:~$ docker history hartzelg/cime
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
7185c64fa2a5        5 months ago        /bin/sh -c #(nop) VOLUME [/cime_config.yaml]    0 B
fd53e85b356b        5 months ago        /bin/sh -c #(nop) VOLUME [/var/jenkins_home]    0 B
b50f22ae6ec1        5 months ago        /bin/sh -c #(nop) COPY file:fb917d778dfa959bb   10.11 kB
[...]
```
@vsoch
Copy link
Member

vsoch commented Aug 2, 2017

I definitely didn't know about that one, thanks!

@vsoch vsoch merged commit bee26a3 into singularityware:master Aug 2, 2017
@hartzell hartzell deleted the patch-6 branch August 2, 2017 19:15
vsoch added a commit that referenced this pull request Aug 22, 2017
* adding troubleshooting for debian issue apptainer/singularity#845

* adding note about security implications

* Typo: dummpy.img -> dummy.img (#94)

Not sure if this was a typo or a snarky insider joke by a Perl/Ruby programmer....

* Typo: One -> On & wordsmithing (#95)

* Type: One -> On

* Wordsmithing

* Fix inaccurate docker command description (#96)

There is no `docker -ps` command.  The docker `ps` subcommand lists containers.  The docker `history` subcommand will list the layers, like so:

```
hartzelg@blah:~$ docker history hartzelg/cime
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
7185c64fa2a5        5 months ago        /bin/sh -c #(nop) VOLUME [/cime_config.yaml]    0 B
fd53e85b356b        5 months ago        /bin/sh -c #(nop) VOLUME [/var/jenkins_home]    0 B
b50f22ae6ec1        5 months ago        /bin/sh -c #(nop) COPY file:fb917d778dfa959bb   10.11 kB
[...]
```

* Typo: maybe -> may be (#97)

* Oops: "pids" -> "numeric userid" (#98)

"pids" is process ids, I think?

What you mean is the users numeric id, e.g. on machine A `hartzell` is `3245` so files are owned by `3245`.  But, when I get to machine B where `hartzell` is `22453`, those same files appear to be someone else.

Right?

* nothing to see here...

* fixing environment variable example

* Fix typo (#99)

* $SINGULARITY_ENVIRONMENT, --nv, and random cleanup

* removed Usage sections from commands

* removed $SINGULARITY_ENVIRONMENT jazz from current docs

* reverted docs-usage to old version

* cleaning up the merge a bit more

* finalizing and approving PR to close #100!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants