Page History
...
Note: The JOC Cockpit has to be stopped before patches are removed.
Anchor | ||||
---|---|---|---|---|
|
...
Container
Caveat:
- As a larger number of files are included in a GUI patch this will create
...
- overlays in your container
...
- storage.
...
- Users can apply patches
...
- when creating JOC Cockpit images. Use the same sequence of OS commands as indicated with chapter Patches for JOC Cockpit On Premises in your Dockerfile when creating the image. For details how to build the image see JS7 - JOC Cockpit Build of Container Image.
JOC Cockpit expects .tar.gz archive files for patches from the following location:
/var/sos-berlin.com/js7/joc/resources/joc/patches
- The directory
/var/sos-berlin.com/js7/joc/resources/joc
typically is mounted to aconfig
volume when running the container: for details see JS7 - JOC Cockpit Installation for Containers. Thepatches
sub-directory should be created if it does not exist before storing the patch file to this location.
Applying Patches
On start-up the JOC Cockpit container checks the above directory for existence of *.tar.gz files. If a file is found then:
- the file will be extracted to
/var/sos-berlin.com/js7/joc/webapps/joc
- for details see the Patches for JOC Cockpit On Premises section above.
Patches are applied on start-up of a container. Patch files remain in place in the /var/sos-berlin.com/js7/joc/resources/joc
/
patches
sub-directory (typically mounted to the config/patches
volume directory) for the lifetime of the JOC Cockpit release in use. Patches have to be removed if a newer release of JOC Cockpit is used.
Note: The JOC Cockpit container has to be restarted to apply patches.
Removing Patches
Patch files are removed by dropping the files in the patches
sub-directory.
Patches are not automatically removed when updating or upgrading the JOC Cockpit image. If a newer JOC Cockpit release is used then this includes any fixes provided by previous patches. Users have to remove patch files when applying new releases.
Note: The JOC Cockpit container has to be restarted to make removal of patches effective.