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.

  • Connect button disabled in Azure
  • “Is your docker daemon up and running?” Problems with docker hello world tutorial on Linux
  • Test Docker cluster in Jenkins
  • Docker watchtower with private registry
  • How to run docker container from remote api?
  • Dynamically set JAVA_HOME of docker container
  • 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 });

  • com.spotify.docker.client.DockerRequestException: Request error: DELETE unix://localhost:80/v1.12/containers/…: 409
  • docker-compose basic Prometheus / Grafana example with one node exporter
  • How to sleep a running container than executable original command
  • Docker SIGTERM not being delivered to node.js/coffee app when started with flags
  • docker 1.12 swarm cluster cannot serve static files
  • Developing in a Docker image that's under version control
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.