Step 1) docker pull maprtech/pacc:6.2.0_7.0.0_centos8
Step 2)
[root@m2-maprts-vm72-173 ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
clientinstall latest 80e6aa1631ca 4 hours ago 2.35 GB
docker.io/maprtech/pacc 6.2.0_7.0.0_centos8 b8c66e6edce7 5 weeks ago 1.29 GB
docker.io/centos centos7 7e6257c9f8d8 2 months ago 203 MB
Step 3) docker run -it -e MAPR_CLUSTER=SixOne -e MAPR_CLDB_HOSTS=pn1 -e MAPR_CONTAINER_USER=root b8c66e6edce7
Step 4) Copy the mapr packges to docker container
docker cp mapr-* 03d523786b1b:/root/
Step 5) Install the copied packages
Step 6) Save the changes made from #5 .
docker commit <containerId> <NewImageName>
e.g) docker commit 03d523786b1b clientinstall
Step 7) Login to new docker image from #6
docker run -it -e MAPR_CLUSTER=SixOne -e MAPR_CLDB_HOSTS=pn1 -e MAPR_CONTAINER_USER=root clientinstall
No comments:
Post a Comment