docker started via shelljs not responding to input in interactive mode

I am starting my docker containers via shelljs.

The container has a sh script that is running on startup.

  • In docker node_modules directory becomes unreachable
  • API to get Top Docker Hub images? [closed]
  • .Net Core Web Api to Docker Container Mac
  • Cannot install docker pkg dependency in Go
  • Run nginx in docker with custom vhost
  • operation not permitted Error response from daemon: Cannot start container System error: operation not permitted
  • This is behaving as intended when the output of the container is only passive.

    But when start the container without startscript and try to give some manual input (like cd dir), the docker interactive shell is not responding to my input.

    So my question: is it possible to use shelljs to start a docker container in interactive mode and interact with this container as if i had started it directly from the command line?

    here is a example shelljs command i like to run:

    exec("docker run -it --name=test user:image", { silent: false });

  • Curl do Docker Container on same Docker Host (nginx-proxy)
  • user: Current not implemented on linux/amd64 with golang using docker scrtach
  • SSH into a DC/OS created public agent node to deploy a Docker container?
  • Docker --volumes-from permissions
  • How to link two docker services in coreos with flannel?
  • Docker how to use boolean value on spec.container.env.value
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.