mirror of
https://github.com/linuxserver/docker-openssh-server.git
synced 2026-02-20 04:33:38 +08:00
fix param
This commit is contained in:
parent
b672e602e0
commit
89b281e377
@ -65,7 +65,7 @@ docker create \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-e PUBLIC_KEY=ssh-rsa AAAAAxxxxxxxxxxxx `#optional` \
|
||||
-e PUBLIC_KEY=yourpublickey `#optional` \
|
||||
-p 22:22 \
|
||||
-v /path/to/appdata/config:/config \
|
||||
--restart unless-stopped \
|
||||
@ -88,7 +88,7 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- PUBLIC_KEY=ssh-rsa AAAAAxxxxxxxxxxxx #optional
|
||||
- PUBLIC_KEY=yourpublickey #optional
|
||||
volumes:
|
||||
- /path/to/appdata/config:/config
|
||||
ports:
|
||||
@ -106,7 +106,7 @@ Container images are configured using parameters passed at runtime (such as thos
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
|
||||
| `-e PUBLIC_KEY=ssh-rsa AAAAAxxxxxxxxxxxx` | Optional ssh public key, which will automatically be added to authorized_keys. |
|
||||
| `-e PUBLIC_KEY=yourpublickey` | Optional ssh public key, which will automatically be added to authorized_keys. |
|
||||
| `-v /config` | Contains all relevant configuration files. |
|
||||
|
||||
## User / Group Identifiers
|
||||
|
||||
@ -38,7 +38,7 @@ param_env_vars:
|
||||
# optional container parameters
|
||||
opt_param_usage_include_env: true
|
||||
opt_param_env_vars:
|
||||
- { env_var: "PUBLIC_KEY", env_value: "ssh-rsa AAAAAxxxxxxxxxxxx", desc: "Optional ssh public key, which will automatically be added to authorized_keys."}
|
||||
- { env_var: "PUBLIC_KEY", env_value: "yourpublickey", desc: "Optional ssh public key, which will automatically be added to authorized_keys."}
|
||||
|
||||
optional_block_1: false
|
||||
optional_block_1_items: ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user