diff --git a/README.md b/README.md index 45b1eab..759da9a 100644 --- a/README.md +++ b/README.md @@ -61,21 +61,21 @@ You can add additional users, default directories or customize start directories > Simple Docker CLI run ```shellsession -$ docker run -p 22:22 -d emberstack/sftp --name sftp +$ docker run -p 22:22 -d --name sftp emberstack/sftp ``` This will start a SFTP in the container `sftp` with the default configuration. You can connect to it and login with the `user: demo` and `password: demo`. > Provide your configuration ```shellsession -$ docker run -p 22:22 -d emberstack/sftp --name sftp -v /host/sftp.json:/app/config/sftp.json:ro +$ docker run -p 22:22 -d --name sftp -v /host/sftp.json:/app/config/sftp.json:ro emberstack/sftp ``` This will override the default (`/app/config/sftp.json`) configuration with the one from the host `/host/sftp.json`. > Mount a directory from the host for the user 'demo' ```shellsession -$ docker run -p 22:22 -d emberstack/sftp --name sftp -v /host/sftp.json:/app/config/sftp.json:ro -v /host/demo:/home/demo/sftp +$ docker run -p 22:22 -d --name sftp -v /host/sftp.json:/app/config/sftp.json:ro -v /host/demo:/home/demo/sftp emberstack/sftp ``` This will mount the `demo` directory from the host on the `sftp` directory for the "demo" user.