318a788e38
Add this dockerfile for developer and contributor, those who can build their own developement environment easily and quickly. Without any worry about the python packages incompatible. Change-Id: Ie045c6221004f60a3af73f53b1370a3e431e96e0
20 lines
632 B
Markdown
20 lines
632 B
Markdown
Budil-Zun-Service-Dcoker Image
|
|
=======================
|
|
|
|
By using this dockerfile, you can build your own Zun service docker container eaily and quickly.
|
|
|
|
Build docker container image
|
|
for example, we build a docker container image named `zun-service-img`.
|
|
```docker build -t zun-service-img .```
|
|
|
|
Run zun service container
|
|
Start a container by unsing our build image above.
|
|
```docker run --name zun-service \
|
|
--net=host \
|
|
-v /var/run:/var/run \
|
|
zun-service-img```
|
|
|
|
|
|
Note: You should enter the container and config the zun config file in the path /etc/zun/,
|
|
More info about the config please reference the installation docs.
|