how can I set the working directory in old version of docker in the run command?

I am a bit new to docker and I have been trying to run deploy a meteor container with my meteor application. I have been using the dockerfile and instructions from

However, I cant run docker run -p 3000:3000 -t -i -v /path/to/meteor/app:/opt/application -w /opt/application meteor-dev because my docker (version 0.5.3) does not recognize the flag (-w) to set the working directory.

  • Selenium cannot find file running in separate container
  • How is load balancing done in Docker-Swarm mode
  • Creating clock skew with docker
  • App within docker container cannot invoke service on same container
  • Docker Machine Virtual Box Driver Issue
  • Run docker - Error parsing reference
  • Is there some workaround to set the working directory with docker 0.5.3? The work directory is already set in the docker file, but I guess I need to set it again when I run the container.

  • Graylog SMTP server without TLS/SSL
  • Can't see output of Docker container
  • Linking containers in Docker
  • How to get two Docker containers talking to each other?
  • Why i've got “550 Cannot establish SSL session” error when i sending mail from codeIgniter framework with server mail?
  • Docker LAMP stack - lstat apache_default: no such file or directory?
  • One Solution collect form web for “how can I set the working directory in old version of docker in the run command?”

    well, my workaround was to create a bash script that would go to the working directory and call the commands one by one. I created the bash script where my source is located “/path/to/meteor/app” and call docker run -p 3000:3000 -t -i -v /path/to/meteor/app:/opt/application meteor-dev bash /opt/application/ with the bash as command and my script as argument

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.