Documente Academic
Documente Profesional
Documente Cultură
Server:
Engine:
Version: 18.03.1-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.4
Git commit: 7390fc6/18.03.1-ce
Built: Thu May 24 22:22:43 2018
OS/Arch: linux/amd64
Experimental: false
[root@ip-172-31-5-217 ec2-user]#
docker ps -a
docker ps -a -q
docker ps -q
jul 18
jul19
amanly/websphere_8_5_5
*************************
docker run -i -t -p 28000:28000 -p 28001:28001 -v /tmp/websphere:/tmpfromhost
amanly/websphere_8_5_5 bash
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
http://172.17.0.2:28000/ibm/console (working in ubuntu it self )
username: wasadmin
password: wasadmin
jul 21
******
to give name to the image
#docker run -it --name devops-1 Centos
change exisiting container name
#docker rename quirky_beaver devops-2
#docker run -it centos -- by deafult host name will get container id
hostname ,uname -a
To create a docker file - for creating images
#vi dockerfile
-->in vi file
#docker images
#docker build -t "ubuntu_uppala" .
#docker images
#docker run -it ubuntu_uppala
for centos
------------
FROM centos:latest
RUN yum update -y
RUN yum install httpd -y
Docker Weblogic
How To Use:
docker pull ismaleiva90/weblogic12
To start the docker machine with 7001, 7002 and 5556 ports opened:
docker run -d -p 49163:7001 -p 49164:7002 -p 49165:5556
ismaleiva90/weblogic12:latest
Web Console
http://localhost:49163/console
User: weblogic
Pass: welcome1
Use the command docker exec -it <container name> /bin/bash to get a bash shell in
the container.