1
0

README.md / samba.sh cleanup timezone setting and docs

This commit is contained in:
David Personette
2015-08-15 17:10:17 -04:00
parent db6583b997
commit 0fb22c1930
2 changed files with 14 additions and 6 deletions

View File

@@ -52,17 +52,21 @@ OR set local storage:
ENVIROMENT VARIABLES (only available with `docker run`)
* `TIMEZONE` - As above, set a zoneinfo timezone, IE `EST5EDT`
* `TZ` - As above, set a zoneinfo timezone, IE `EST5EDT`
## Examples
### Start an instance and set the timezone:
Any of the commands can be run at creation with `docker run` or later with
`docker exec samba.sh` (as of version 1.3 of docker).
### Setting the Timezone
sudo docker run -p 139:139 -p 445:445 -d dperson/samba -t EST5EDT
OR using `environment variables`
sudo docker run -e TZ=EST5EDT -p 139:139 -p 445:445 -d dperson/samba
Will get you the same settings as
sudo docker run --name samba -p 139:139 -p 445:445 -d dperson/samba