Minor docker updates
This commit is contained in:
parent
f006dddeab
commit
b5fe362d2f
44
package-lock.json
generated
44
package-lock.json
generated
@ -862,9 +862,9 @@
|
||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
|
||||
},
|
||||
"fsevents": {
|
||||
"version": "1.2.11",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
|
||||
"integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
|
||||
"version": "1.2.12",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.12.tgz",
|
||||
"integrity": "sha512-Ggd/Ktt7E7I8pxZRbGIs7vwqAPscSESMrCSkx2FtWeqmheJgCo2R74fTsZFCifr0VTPwqRpPv17+6b8Zp7th0Q==",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"bindings": "^1.5.0",
|
||||
@ -911,7 +911,7 @@
|
||||
}
|
||||
},
|
||||
"chownr": {
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
},
|
||||
@ -1061,7 +1061,7 @@
|
||||
}
|
||||
},
|
||||
"minimist": {
|
||||
"version": "0.0.8",
|
||||
"version": "1.2.5",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
},
|
||||
@ -1083,11 +1083,11 @@
|
||||
}
|
||||
},
|
||||
"mkdirp": {
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.3",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"minimist": "0.0.8"
|
||||
"minimist": "^1.2.5"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
@ -1096,7 +1096,7 @@
|
||||
"optional": true
|
||||
},
|
||||
"needle": {
|
||||
"version": "2.4.0",
|
||||
"version": "2.3.3",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -1123,7 +1123,7 @@
|
||||
}
|
||||
},
|
||||
"nopt": {
|
||||
"version": "4.0.1",
|
||||
"version": "4.0.3",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -1145,12 +1145,13 @@
|
||||
"optional": true
|
||||
},
|
||||
"npm-packlist": {
|
||||
"version": "1.4.7",
|
||||
"version": "1.4.8",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"ignore-walk": "^3.0.1",
|
||||
"npm-bundled": "^1.0.1"
|
||||
"npm-bundled": "^1.0.1",
|
||||
"npm-normalize-package-bin": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"npmlog": {
|
||||
@ -1220,17 +1221,10 @@
|
||||
"ini": "~1.3.0",
|
||||
"minimist": "^1.2.0",
|
||||
"strip-json-comments": "~2.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"minimist": {
|
||||
"version": "1.2.0",
|
||||
"bundled": true,
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "2.3.6",
|
||||
"version": "2.3.7",
|
||||
"bundled": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
@ -2354,9 +2348,9 @@
|
||||
"optional": true
|
||||
},
|
||||
"glob-parent": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
|
||||
"integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
|
||||
"integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"is-glob": "^4.0.1"
|
||||
@ -2522,9 +2516,9 @@
|
||||
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
|
||||
},
|
||||
"picomatch": {
|
||||
"version": "2.2.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz",
|
||||
"integrity": "sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==",
|
||||
"version": "2.2.2",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
|
||||
"integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
|
||||
"optional": true
|
||||
},
|
||||
"posix-character-classes": {
|
||||
|
@ -1,30 +1,38 @@
|
||||
---
|
||||
title: About Docker
|
||||
date: 2018-10-30 22:43:01
|
||||
date: 2020-04-01 22:43:01
|
||||
thumbnail: /images/docker.png
|
||||
comments: false
|
||||
categories:
|
||||
- Docker
|
||||
---
|
||||
Getting started with docker may seem complex, but here is some info that might help you get started.
|
||||
Getting started with docker may seem complex, but here is some info that might help you get started. There are some fundamentals that you should understand too - if anything to save any heartache later. :)
|
||||
|
||||
## What is Docker
|
||||
Docker is "like" virtualisation in that your application runs in it's own space, and thinks it is the only application running in that space (as if it were on a physical machine).
|
||||
|
||||
In reality, Docker is process separation - it is your application running on the same host as docker is running, but docker puts it in a jail.
|
||||
In reality, Docker is process separation - it is your application running on the same host with other applications, but docker puts each in a jail.
|
||||
|
||||
## Docker Components (or Terms)
|
||||
* Image - represents an application, specifically a version of an application. When an image is built with `docker build` it has everything it needs for the application to run. All dependencies (libraries, binaries, utilities, etc) are packaged up into the image.
|
||||
|
||||
Generally, you use an image to run one or more containers of that image - but you don't "upgrade" the application inside the image, instead you build a new image. So its not uncommon to have images of application:v1, and application:v1.1.
|
||||
|
||||
A good way to relate to this, is using a "Live CD-ROM" analogy. A live CD-ROM is an OS, and often with applications, that is burnt to a CD (or DVD). Once the CD is written, it's contents cannot be changed.
|
||||
|
||||
However, you can make many copies of that CD, and use it on many physical machines, to have the "same" environment across multiple physical hosts.
|
||||
|
||||
A docker image, is like a "Live CD-ROM". From that image, you can start many containers, and each container is exactly the same as any other - the only difference being, is that the containers can all be on the same host, or across multiple hosts.
|
||||
|
||||
Also like a "Live CD-ROM" - the containers contents can be changed while it's running (just like you can author a document on a live CD-ROM environment, if it contains a word processor). But when you destroy the container (like powering of the live CD-ROM PC) - all changed data is lost, unless you store it on a specific persistent storage volume.
|
||||
|
||||
* Container - represents a running instance of an image - like a "virtual machine". You can run many containers of the same image, and it would be like running many "instances" of the application on the same computing cluster.
|
||||
|
||||
By design, containers are intended to be created and destroyed often. In fact, when you get into using "clustering" (Kubernetes, Docker Swarm, etc) - your containers are often destroyed as they float between physical machines.
|
||||
By design, containers are intended to be created and destroyed often. In fact, when you get into using "clustering" (Kubernetes, Docker Swarm, etc) - your containers are often destroyed as they float between physical machines. Your container is also destroyed, when you use an "updated" image (which might represent an updated version of an application).
|
||||
|
||||
Because of this, there are important considerations relating to the data inside your container - if you need that data to persist between invocations of a container.
|
||||
|
||||
* Registry - this is an "App Store" of Images.
|
||||
* Registry - this is an "App Store" of "Docker Images" (where built images can be stored for easily deployment).
|
||||
|
||||
## Why Docker
|
||||
Docker is great for many reasons:
|
||||
|
@ -10,7 +10,14 @@ tags:
|
||||
- BBS
|
||||
date: 2018-09-01 12:00:00
|
||||
---
|
||||
[Mystic BBS](http://mysticbbs.com) is great software to get up and running and get (back) into the BBS scene.
|
||||
|
||||
<div class="badge btn-danger" style="background-color: #ac2925;color: white; padding-left: 0.5em; padding-right: 0.5em;padding-top: 0.4em;padding-bottom: 0.4em;">UPDATE: I no longer maintain these docker images. I've fallen out of love with Mystic, and while it is a good software package to get "back into" BBSING, it has a few bugs that impacted how I wanted to use it, that the author may fix one day (or may not).
|
||||
|
||||
The author also is not very responsive to feedback, and IMHO too hot headed (so its not worth the grief). There are other BBS packages out there that are well supported (for example Synchronet) and still have a wide usage base and updated often.
|
||||
|
||||
That said, there are a wealth of mods created by the BBS community, that do make for some interesting Mystic BBSes.</div>
|
||||
|
||||
[Mystic BBS](http://mysticbbs.com) is good software to get up and running and get (back) into the BBS scene.
|
||||
|
||||
There is a wealth of information on the [wiki](http://wiki.mysticbbs.com), or you can even go through [*Mystic Guy's* YouTube videos](https://www.youtube.com/channel/UCPOUHszVXaGNSlK3AdI7kLQ).
|
||||
|
||||
|
Reference in New Issue
Block a user