Error if image contains a USER entry

Issue #43 open
Olivier Sallou repo owner created an issue

If image specifies a USER label to launch container with specified user, then godocker fails to execute scripts as it expects to be root

Comments (6)

  1. Olivier Sallou reporter

    Need to override this USER. Workaround: recreate image, removing the USER label from Dockerfile

  2. Olivier Sallou reporter

    Fix for swarm and mesos, set default user to root. For mesos, use DockerInfo parameters. Not a best as it may deprecate one day.

  3. Olivier Sallou reporter

    Patch delete user if it exists then create a new one matching user sending the job. If tool needs some profile related to previously existing user, one need to recreate the environment.

  4. Log in to comment