From cc84fedc3b0b5529591e605bf57be115bb7728a2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 26 May 2016 12:17:23 +0200 Subject: Added EXPOSE and VOLUME directives This describes the exposed ports and the volume according to the `README.md` documentation. Though it is possible to mount volumes and expose ports using `docker run`, for several docker management tools it is not possible to expose ports or mount volumes when they are not defined in the `Dockerfile`. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0eeeb8d..9a36e8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,3 +13,6 @@ RUN apt-get -y autoremove ADD extra/oxidized.runit /etc/service/oxidized/run ADD extra/auto-reload-config.runit /etc/service/auto-reload-config/run + +VOLUME ["/root/.config/oxidized"] +EXPOSE 8888/tcp -- cgit v1.2.1