Hello List,

I don't want to mix Docker and KVM host, prefer running just one.

Is it possible to do something like the "host network" with KVM:

docker run -it --name samba \    
    --hostname="samba" \
    -v /etc/localtime:/etc/localtime:ro \
    -v /etc/samba:/etc/samba \
    -v /var/log/samba:/var/log/samba \
    --network host \
    --restart="always" \
    --detach=true \
    -d samba:v0.1 "/entrypoint.sh"


In this mode everything inside the guest uses the hosts network stack so you 
start a tool like samba it will bind on the normal hosts ip, the container 
doesn't have interface or own ip.



Reply via email to