Public | Automated Build

Last pushed: 2 years ago
Short Description
This is the base websphere liberty image ready with both IBM JRE, Oracle JDK. It has ssh server.
Full Description

BASE-WLP

This is a Private Source Code Repository for the MMR Portal at FEI systems.
This portal is hosted and operated by the Federal Agencies.
Any unauthorized access or changes to the source code contained in this repository will be reported the government.
Please contact your system administrator if you are authorized to access the source code and need help. Thanks!

#INSTALL

##download and install git

Github desktop: Download

Clone the repository : [MMR-Portal] (https://github.com/FEISystems/MMR-Portal)

Cheat sheet: [Here] (https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf)

##download and install docker toolbox

Docker Toolbox : [Download] (https://www.docker.com/products/docker-toolbox)

Installation Guide: [Here] (https://docs.docker.com/engine/installation/windows/)

Tutorial: [Here] (https://www.docker.com/products/docker-toolbox#/tutorials)

Cheat sheet: [Here] (https://github.com/wsargent/docker-cheat-sheet)

##to build the base wlp image
docker build -t johndondapati/base-wlp:base . | tee docker-build.log

##to run as daemon
docker run -d -p 9080:9080 -p 9443:9443 -p 2122:2122 --name base -it johndondapati/base-wlp:base

##to run the container from this image
docker run -it -p 9080:9080 -p 9443:9443 -p 2122:2122 --name base -i -t johndondapati/base-wlp:base /bin/bash

##to access shell for the daemon
docker exec -it base /bin/bash #to exit => exit

##to attach to the container
docker attach base

#to detach press Ctrl+p Ctrl+q
#to exit and stop the container press Ctrl +c

##CONTAINERS

###to check running containers
docker ps

###to check all containers
docker ps -a

###to remove a container
docker rm container_name

###delete all containers
docker rm $(docker ps -a -q)

###to commit an image from container
docker commit johndondapti/base container_name

##IMAGES

###to pull the latest base image
docker pull johndondapati/base-wlp

###to tag an image
docker tag johndondapati/base-wlp:tag_name image_name

###to push the image to repository
docker push johndondapati/base-wlp

###to list images
docker images

###to list all images
docker images -a

###to remove a image
docker rmi image_name

###delete all images
docker rmi $(docker images -q)

Docker Pull Command
Owner
johndondapati
Source Repository

Comments (0)