Formating changes for NOTES

This commit is contained in:
Deon George
2019-07-01 17:27:14 +10:00
parent 7d5aa9fa43
commit ff9a6fb252
6 changed files with 44 additions and 40 deletions

View File

@@ -46,6 +46,12 @@ RUN SOURCE_URL=http://YOUR_SITE_URL_HERE && \
Next obtain the SSL certificate from the server package. The file is called `cert256.arm`.
<small>
> **NOTE**:
> If you use your own SSL certificates, then you will need to get your SP servers CA certifcate.
> If you call it something other than `cert256.arm`, then you'll need to modify the `RUN` command below.
</small>
Also pre-create your `dsm.sys` and `dsm.opt` files for your environment.
```Dockerfile
@@ -71,7 +77,7 @@ RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
```
<small>**NOTE**: This will set your timezone to Melbourne, Australia - naturally, choose the appropriate Country/City for your timezone.
<small>**NOTE**: This will set your timezone to Melbourne, Australia - naturally, choose the appropriate Country/City for your timezone.</small>
## Build your Image
@@ -92,9 +98,8 @@ Using the image is simple
`docker run -it --rm --name=ba --hostname=${HOSTNAME:-$(hostname)} -v [host path]:/etc/adsm $IMAGE [dsmc|dsmadmc] ...`
**NOTES**:
* There is no reason to keep the container after it has been created - but removing the `--rm` will leave it around. It might make it a bit quicker to start by leaving it.
* `--name=` is option, but it gives your container a useful name
* `--hostname=` gives your running a container a friendlier hostname - this is recommended if you are running the client (dsmc).
* `-v` maps the /etc/adsm path (inside the container) to something on the host that is running the container. This is recommended, especially if you want auto login.
> **NOTES**:
> * There is no reason to keep the container after it has been created - but removing the `--rm` will leave it around. It might make it a bit quicker to start next time by leaving it.
> * `--name=` is optional, but it gives your container a useful name
> * `--hostname=` gives your running a container a friendlier hostname - this is recommended if you are running the client (dsmc).
> * `-v` maps the /etc/adsm path (inside the container) to something on the host outside the container. This is recommended, especially if you want auto login.