go to post Garth Cordery · Nov 21, 2018 Thanks for the advice Dmitry, the latest version of ccontainermain sorted the issue, I did need to use the --privileged flag when running it so that mem tuning would work.Thanks again for the quick response.Garth
go to post Garth Cordery · Nov 20, 2018 Getting the following error when trying to run the container, any ideas how to resolve this?:# docker ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESaaa854bd8d81 cache-docker "/ccontainermain -ccâ¦" 25 minutes ago Exited (1) 25 minutes ago modest_ritchie# docker logs aaa854bd8d81standard_init_linux.go:190: exec user process caused "exec format error" FROM registry.access.redhat.com/rhel7/rhelMAINTAINER Garth Cordery <garth.cordery@notmyaddress.com.au># update OS + dependencies & run Cachéilent instalRUN yum-config-manager --add-repo http://localrepo/rhel-7-server-rpms/ \ && yum -y --nogpgcheck update \ && yum -y --nogpgcheck install which tar hostname net-tools wget \ && yum -y clean all \ && ln -sf /etc/locatime /usr/share/zoneinfo/Australia/BrisbaneARG password="Password"ARG cache=cache-2018.1.0.184.0ENV TMP_INSTALL_DIR=/tmp/distrib# vars for Cachéilent installENV ISC_PACKAGE_INSTANCENAME="cache" \ ISC_PACKAGE_INSTALLDIR="/usr/chachesys/" \ ISC_PACKAGE_UNICODE="Y" \ ISC_PACKAGE_CLIENT_COMPONENTS="" \ ISC_PACKAGE_INITIAL_SECURITY="Normal" \ ISC_PACKAGE_USER_PASSWORD=${password}# set-up and install Cachérom distrib_tmp dirWORKDIR ${TMP_INSTALL_DIR}ADD $cache-lnxrhx64.tar.gz .# cache distributiveRUN ./$cache-lnxrhx64/cinstall_silent \ && ccontrol stop $ISC_PACKAGE_INSTANCENAME quietly \# Cachéontainer main process PID 1 (https://github.com/zrml/ccontainermain) && export https_proxy=http://proxy.com.au:3128 \ && curl -L https://github.com/daimor/ccontainermain/raw/master/distrib/linux/cconta... -o /ccontainermain \ && chmod +x /ccontainermain \ && rm -rf $TMP_INSTALL_DIRWORKDIR ${ISC_PACKAGE_INSTALLDIR}# TCP sockets that can be accessed if user wants to (see 'docker run -p' flag)EXPOSE 57772 1972ENTRYPOINT ["/ccontainermain", "-cconsole", "-i", "cache"]