sudo groupadd docker
sudo usermod -aG docker ${USER}
Note that one will have to log out and to log in to take effect! One should look at two references [1,2] to understand security issues.
docker pull alscontrols/channelfinder:v2.0.0
docker run --network=host --name=channelfinder alscontrols/channelfinder:v2.0.0
docker run --network=host --detach --rm --name=channelfinder alscontrols/channelfinder:v2.0.0
docker run -i -t --entrypoint /bin/bash alscontrols/channelfinder:v2.0.0
docker run -i -t -v ${HOME}/docker_data:/data --entrypoint /bin/bash alscontrols/channelfinder:v2.0.0
, where ${HOME}/docker_data
is the host path, which will be created if it doesn't exist, and /data
is a volume in the docker container.
docker ps -f name=channelfinder
docker logs channelfinder
docker stop channelfinder
docker start channelfinder
docker rm -f channelfinder
docker rm $(docker ps -aq)
git clone https://github.com/jeonghanlee/ChannelFinder-env/
I assume that ES service stays in the same Docker host where CF container. One variable CF_PORT
for http connection can be configured.
- Default the build with the docker
make build.docker
[1] https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface