How to run Writebook in port 80 instead of 5555
I have installed Writebook in an Oracle Cloud instance. Writebook uses Docker, and it gets installed by default in host port 5555. However, I want to run Writebook in port 80 of the host because it makes it easier to expose it to the Internet from an Oracle Cloud instance.
- Stop Docker
- Edit
hostconfig.jsonfor your container hashsudo vi /var/lib/docker/containers/CONTAINERHASH/hostconfig.jsonand replace"HostPort":"5555"with replace"HostPort":"80". - Start Docker.
Courtesy of this great Stackoverflow answer.
Tags: #writebook #docker