Skip to content

Commit 07bef59

Browse files
committed
Updating docker notes
1 parent 1a16bc1 commit 07bef59

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

LSDTT_installation/book/03-docker_installation/sections/docker_notes.asc

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
The direction of travel in portability seems to be away from https://www.vagrantup.com/[Vagrant] and toward https://www.docker.com/[Docker]. We are not quite sure why this is, since the https://docs.docker.com/[docker documentation] is similar to documentation for the https://www.youtube.com/watch?v=rLDgQg6bq7o[turbo encabulator]. There are many people quite willing to mansplain why Docker is better but before you feel the urge to do that, please refrain: we have drank a bit of the kool-aid and have been testing *LSDTopoTools* with docker.
44

5+
.Docker quick reference
6+
**************************************
7+
Here are some shortcuts if you just need a reminder of how docker works.
8+
9+
List all containers
10+
[source,console]
11+
----
12+
$ docker ps -a
13+
----
14+
15+
List containsers with size
16+
[source,console]
17+
----
18+
$ docker ps -as
19+
----
20+
21+
Remove all unused conainers
22+
[source,console]
23+
----
24+
$ docker system prune
25+
----
26+
27+
**************************************
28+
529
==== Docker on Linux
630

731
After you install docker on Linux, you will need to add users to the docker permissions:
@@ -330,11 +354,14 @@ RUN apk upgrade -U && \
330354
RUN apk update
331355
332356
# clone LSDTT repo
333-
WORKDIR /home/
334-
335-
RUN git clone https://github.com/LSDtopotools/LSDTT_public.git
357+
WORKDIR /LSDTopoTools/
358+
----
359+
+
360+
. After we build this container we can run it with:
361+
+
362+
----
363+
$ docker run -it -v C:/Docker/cpp_containers/LSDTopoTools:/LSDTopoTools/ lsdtt-alpine
336364
----
337-
338365

339366

340367
===== The LSDTT PCL container

0 commit comments

Comments
 (0)