uPortal-Project / uPortal-start

CLI tools for implementing uPortal, beginning with version 5.0.0
Apache License 2.0
19 stars 53 forks source link

Create a docker support page to provide solutions to encountered problems #330

Open bjagg opened 5 years ago

bjagg commented 5 years ago

Is your feature request related to a problem? Please describe. In a new training exercise, several Docker issues surfaced but we came up with solutions. We need to capture these for the community.

Describe the solution you'd like New document page to cover Docker.

bjagg commented 5 years ago

Docker can be installed for privileged users (i.e. root). It should be installed for the user account that will be performing builds.

bjagg commented 5 years ago

On CentOS, Docker required a configuration change to work with uPortal-start. The socket approach needed to be changed to using ports instead.

bjagg commented 5 years ago

Swam configuration was causing an issue. Removing it from the user's default config file helped.

bjagg commented 5 years ago

When creating Demo/CLI images, HSQL must be stopped. The lock files in .gradle/hsqldb/ are copied to the dockerimage which prevents HSQL from starting when the docker image is spun up.

bjagg commented 5 years ago

Custom skins break the Demo docker image.

bjagg commented 5 years ago

Build breaks when using older Docker versions (which ones?)

bjagg commented 5 years ago

Where are the generated Docker images?