How add Docker exec flags ?

PHPStorm 2021.1.1

I would like specify which user launches my docker commands with flags --user.

In CLI, I use

docker-compose exec --user myuser myimage command

But with PHPStorm, I don't find ways for this...

 

Thanks.

0
5 comments

That is really strange, to be honest, I do not have information about why these comments came back.

I have marked these as spam again and suspended one of the users.

1

So it's not possible yet.

Thanks!

0

Just add an alias command 

 

I have the alias `laradock` bound to `docker-compose exec --user=laradock workspace bash`

0

Thanks, Andriy!

I wonder what was the point of the second spam message without any links though, must be the way to create a feeling that this is a regular account.

0

Please sign in to leave a comment.