teracyhq / docker-files

Teracy docker-files project to build common Docker images
https://hub.docker.com/r/teracy/
MIT License
92 stars 55 forks source link

docs: fixed docker run command #26

Closed niklas-dahl closed 7 years ago

niklas-dahl commented 7 years ago

I guess this was a typo, running the command in the old form gives the following:

~$ docker container run --name new-ng2-app -it -v $(pwd):/opt/app -w /opt/app -p 4200:4200 teracy/angular-cli /bin/bash
docker: 'container' is not a docker command.
See 'docker --help'.
hoatle commented 7 years ago

@niklas-dahl docker container run is a new command from docker 1.13, please update your Docker, this is not typo https://blog.docker.com/2017/01/whats-new-in-docker-1-13/

niklas-dahl commented 7 years ago

oh okay, thanks for the information!