User bio
404 bio not found
Member since Nov 20, 2018
Posts:
Garth has not published any posts yet.
Replies:

Getting the following error when trying to run the container, any ideas how to resolve this?:

# docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                      PORTS               NAMES
aaa854bd8d81        cache-docker        "/ccontainermain -ccâ¦"   25 minutes ago      Exited (1) 25 minutes ago                       modest_ritchie

# docker logs aaa854bd8d81
standard_init_linux.go:190: exec user process caused "exec format error"
 

FROM registry.access.redhat.com/rhel7/rhel

MAINTAINER Garth Cordery <garth.cordery@notmyaddress.com.au>

# update OS + dependencies & run Cachéilent instal
RUN 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/Brisbane

ARG password="Password"
ARG cache=cache-2018.1.0.184.0

ENV TMP_INSTALL_DIR=/tmp/distrib

# vars for Cachéilent install
ENV 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 dir
WORKDIR ${TMP_INSTALL_DIR}

ADD $cache-lnxrhx64.tar.gz .

# cache distributive
RUN ./$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_DIR

WORKDIR ${ISC_PACKAGE_INSTALLDIR}

# TCP sockets that can be accessed if user wants to (see 'docker run -p' flag)
EXPOSE 57772 1972

ENTRYPOINT ["/ccontainermain", "-cconsole", "-i", "cache"]

Certifications & Credly badges:
Garth has no Certifications & Credly badges yet.
Global Masters badges:
Garth has no Global Masters badges yet.
Followers:
Garth has no followers yet.
Following:
Garth has not followed anybody yet.