add docker-enter function