File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,11 +93,13 @@ docker run --rm -it --entrypoint /keygen.sh linuxserver/openssh-server
9393Then simply follow the prompts.
9494The keys generated by this script are only displayed on your console output, so make sure to save them somewhere after generation.
9595
96-
9796## Usage
9897
9998To help you get started creating a container from this image you can either use docker-compose or the docker cli.
10099
100+ > [ !NOTE]
101+ > Unless a parameter is flaged as 'optional', it is * mandatory* and a value must be provided.
102+
101103### docker-compose (recommended, [ click here for more info] ( https://docs.linuxserver.io/general/docker-compose ) )
102104
103105``` yaml
@@ -160,7 +162,7 @@ Containers are configured using parameters passed at runtime (such as those abov
160162| Parameter | Function |
161163| :----: | --- |
162164| ` --hostname= ` | Optionally the hostname can be defined. |
163- | ` -p 2222 ` | ssh port |
165+ | ` -p 2222:2222 ` | ssh port |
164166| ` -e PUID=1000 ` | for UserID - see below for explanation |
165167| ` -e PGID=1000 ` | for GroupID - see below for explanation |
166168| ` -e TZ=Etc/UTC ` | specify a timezone to use, see this [ list] ( https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List ) . |
You can’t perform that action at this time.
0 commit comments