greyltc / docker-owncloud

Arch linux based docker container with owncloud
111 stars 37 forks source link

Change ports #102

Closed Alacard closed 8 years ago

Alacard commented 8 years ago

Im not sure if this is already a thing. but was wondering if you can add a environment variables where we can set a port for OC to run own, the reason im asking is i already have another docker running on port 80 so being able to tell it to use another port would help out.

greyltc commented 8 years ago

Hi @Alacard. This is already a thing. Have a look at the man page for docker run by typing man docker-run in your terminal for instructions on how to use docker. You'll see that the -p option shown there is for controlling port mappings.