Skip to content

Commit

Permalink
More getting started updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mikes-zum committed Feb 8, 2021
1 parent 7878d95 commit 7434e22
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .markdownlint.json
Expand Up @@ -2,5 +2,5 @@
"default": true,
"no-inline-html": false,
"line-length": false,
"MD026": { "punctuation": ".,;:!。,;!?" }
"MD026": { "punctuation": ".,;:!。,;!?" }
}
2 changes: 1 addition & 1 deletion site/jbase/get-started/README.md
Expand Up @@ -29,7 +29,7 @@ These examples can be followed on your local system or using a free docker conta

If you prefer to experiment rather than watch, here is our [Docker cheat-sheet](./docker-container/README.md)

## Find out more about the platform with our Introduction to jBASE
### Find out more about the platform with our Introduction to jBASE:

[jBASE Fundamentals - Read this first](./introduction/fundamentals/README.md)
[jBASE BASIC (jBC)](./introduction/jbc/README.md)
Expand Down
30 changes: 27 additions & 3 deletions site/jbase/get-started/docker-container/README.md
Expand Up @@ -10,7 +10,7 @@ Our examples all use Powershell and Docker Desktop for Windows, but the same com

These are your Templates. When you do a "docker pull", you are pulling a template. Think of a template as a "golden" VM image**.

Lists all your docker images:
List all your docker images:

```powershell
PS C:\WINDOWS\system32> docker image list
Expand All @@ -27,7 +27,7 @@ docker pull zumasys/jbase_base

All docker images have their original name plus a hash (internal id for the image)

This command allows you to basically have alias names for the docker:
This command allows you to define an alias name for the Docker:

```powershell
docker tag
Expand Down Expand Up @@ -279,7 +279,31 @@ and you should see something like this in your browser:

Because this is a named VM, it will never be purged without you doing that manually. This means you can continue to use it.

## To be completed
To start your container forwarding 10022 to 22 (-p 10022:22), inside your docker, perform the following steps:

```bash
yum install openssh-server
/usr/bin/ssh-keygen -A
/usr/sbin/sshd -f /etc/ssh/sshd_config
passwd root (create password for root)
# Alternatively
passwd jbaseadm (create password for jbaseadm)
```

You should then be able to connect via ssh (from WSL, for instance):

```bash
zumasys@DESKTOP-8KMHUNK:~$ssh root@localhost -p 10022
The authenticity of host '[localhost]:10022 ([127.0.0.1]:10022)' can't be established.
ECDSA key fingerprint is SHA256:WwPkUoVIlvVgsWyjvYk7GMhrWTZvds8QDgNSuNFdnnc.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[localhost]:10022' (ECDSA) to the list of known hosts.
root@localhost's password:
-bash-4.2# jb
Account name or path: JBASEADM
jsh JBASEADM ~ -->

```

** A golden image is a template for a virtual machine (VM), virtual desktop, server or hard disk drive. A golden image may also be referred to as a clone image, master image or base image.

Expand Down

0 comments on commit 7434e22

Please sign in to comment.