Look at this my article where you will find some details, how to build Cache in docker on centos.
Instead of COPY and tar I would recommend using ADD command because it doing extract at the same time.
And for doing such build, you should have file cache-2017.1.3.317.0.18571-lnxrhx64.tar.gz close to the Dockerfile, or in the root of build context.
If you do build this way. Cache distributive should be in the current folder.
docker build .
But, you will face an issue with Storage Driver. It will look like, successful build but PROTECT error during startup. With previous versions of Docker it was possible to change Storage driver to aufs, but not with the latest version, where support for such driver already removed. There are some tricks on how to manage to work with it, but I would not recommend it.
Nowadays only IRIS 2019.1 works quite well in Docker with the default storage driver out of the box.
- Log in to post comments