Docker Community Forums

Share and learn in the Docker community.

License on install

(Sebastiaan van Steenis) #1

Is there a way to automatically install a license during UCP install? I can post the license to the API endpoint afterwards, but it would be nice to do it in one command.

(Sebastiaan van Steenis) #2

Found it:

A license file can optionally be injected during install by volume
mounting the file at ‘/docker_subscription.lic’ in the tool. E.g.,
-v /path/to/my/docker_subscription.lic:/docker_subscription.lic