boot2docker - Docker in debugging mode -
i have flume, hdfs container running in boot2docker. have java code under /c/users/
directory automatically mounted boot2docker[according docs].
i copied required jars running container instead mounting volume using -v
flag. want debug code inside running container.
how achieve this? need mount , run container debug mode? how this? if steps or example, helpful
any suggestions?
use docker exec -ti container /bin/bash
open terminal in container, check dock https://docs.docker.com/reference/commandline/cli/#exec
Comments
Post a Comment