N
N
nepster-web2017-07-06 18:26:48
macOS
nepster-web, 2017-07-06 18:26:48

Why doesn't docker command work under MAC?

There is a command:

docker-compose run --no-deps --rm php-bundle /bin/bash  -c "useradd -u 501 docker && su -c 'phpunit tests' docker"

It works fine on linux (ubuntu), however on OSX, the user who executes this command gets into the container's terminal, and this part is not executed:
"useradd -u 501 docker && su -c 'phpunit tests' docker"

Tell me, please, what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nepster-web, 2017-07-11
@nepster-web

In general, this behavior was observed only on a specific device, and after reinstalling docker with a full reset, the problem went away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question