microsoft / VSTS-Docker-Preview

Preview repo for Docker extension
16 stars 8 forks source link

[Question] docker run get more arguments #13

Open pherbel opened 7 years ago

pherbel commented 7 years ago

How Can I pass more arguments for the docker run command? e.g: -t --cap-addd --security-opt

markgarcia commented 7 years ago

I also have this need with VSTS's Docker Compose "Run Service Image" action. Essentially, I want to do this. However I can't simply invoke the command manually as looking at the build logs it looks like the VSTS agent is inserting additional docker-compose files.

fredgate commented 6 years ago

Yes this is a essential feature. When I run image like nanoserver/apache24, the container is immediatly stopped. I need to use the -t option to run command. Else this task is useless.

gjsduarte commented 6 years ago

+1