File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Hello Docker
2
2
3
- We'll start with the simple hello world - though we'll run it from WITHIN Docker!
3
+ We'll start with the simple hello world example though we'll run it from WITHIN Docker!
4
4
5
5
See: [ https://hub.docker.com/_/hello-world ] ( https://hub.docker.com/_/hello-world )
6
6
Original file line number Diff line number Diff line change 3
3
Let's see how quickly we can spin up a running Lucee server.
4
4
5
5
1 . Navigate to this directory (/docker-101-hawaii-cfug/3-commandbox)
6
- 2 . Then run the following:
6
+ 2 . Note: If you run this command from a different directory you will get an error about not being able to find index.cfm!
7
+ 3 . Run the following:
7
8
8
- If you run this command from a different directory you will get an error about not being able to find index.cfm!
9
9
10
10
```
11
11
docker run -p 8080:8080 -v "$PWD:/app" ortussolutions/commandbox
@@ -47,6 +47,8 @@ Example:
47
47
docker kill a8ac1df8775c
48
48
```
49
49
50
+
50
51
While this works it doesn't allow us a lot of options to configure things.
51
52
53
+
52
54
We'll explore that in the next example.
Original file line number Diff line number Diff line change @@ -4,13 +4,12 @@ While running Docker via the cli works - it becomes difficult to do more advance
4
4
5
5
Here we will introduce the 'Dockerfile'. A Dockerfile can be used to build our own image.
6
6
7
- We can run that image, share it with a co-worker or we could push it to a container registry so others may use it .
7
+ You can install whatever you want and configure it however you like .
8
8
9
- This is a simple file which allows you to create an image and add additional configuration information .
9
+ We can then run that image, share it with a co-worker or we could push it to a container registry so others may use it .
10
10
11
11
Building images is an advanced topic and I won't go into much detail her other than this simple example.
12
12
13
-
14
13
Navigate to this directory (/docker-101-hawaii-cfug/4-dockerfile) and run the following:
15
14
16
15
You can’t perform that action at this time.
0 commit comments