April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

docker swarm

Docker Engine Starting from version 1.12.0, Docker Swarm is integrated natively. The operation of the cluster can be directly controlled by the docker service command, which is very convenient and the operation process is greatly simplified. Docker Swarm For the average developer, the biggest advantage lies in the native support of the load balancing mechanism, […]

Docker import and export mirrors

Docker Import and Export Image Docker allows you to export the image to a local file. The export command is docker save. First, let’s look at the use of this command. [plain] view plain copy $ sudo docker save –help

You can see that the docker save command is very simple to use, with a […]

Docker centos 6.9

Docker requires a Linux kernel version of 3.8 or higher, you must check the kernel version of the host operating system before installation. Otherwise, if the kernel is lower than 3.8, Docker can be successfully installed, but after entering Docker, it will automatically exit. .

1. Download and install CentOS 6.9

CentOS 6 series, the […]

Docker creates Tomcat/Weblogic cluster

Install Tomcat image

Prepare the required jdk, tomcat and other software into the home directory, start a container docker run -t -i -v /home:/opt/data -name mk_tomcat Ubuntu /bin/bash

This command mounts the local home directory to the /opt/data directory of the container. If the container directory does not exist, it will be automatically created. The […]

Docker Swarm on Centos 7

Install of docker

Lets remove all the unnecessary software on the machine

yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine

now we have to install dependancy software for Docker

yum install -y yum-utils device-mapper-persistent-data lvm2

Let add a docker repo

yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo

Enable the yum docker repo on the centos […]

Start a docker container on CentOS at boot time as a linux service

Note: If docker daemon does not start at boot, you might want to enable the docker service

1 systemctl enabledocker.service

Here are the steps.

Create the file /etc/systemd/system/docker_demo_container.service

1 2 3 4 5 6 7 8 9 10 11 [Unit] Wants=docker.service After=docker.service [Service] RemainAfterExit=yes ExecStart=/usr/bin/dockerstart my_container_name ExecStop=/usr/bin/dockerstop my_container_name [Install] WantedBy=multi-user.target

Now I can start […]

docker install on centos 7.4

hostnamectl set-hostname clusterserver1.rmohan.com ifconfig -a vi /etc/selinux/config systemctl disable firewalld systemctl stop firewalld vi /etc/hosts yum install wget yum update yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager –add-repo https://download.docker.com/linux/centos/docker-ce.repo yum-config-manager –enable docker-ce-edge yum list docker-ce –showduplicates | sort -r yum install docker-ce

systemctl […]

dockert centos

Docker is an open-source tool that automates the deployment of applications inside software containers by providing an additional layer of abstraction of operating system level virtualization on Linux. Docker makes it easier to create, deploy and run applications by using containers. Containers allow a developer to package up an application with all of the libraries […]

Kubernetes basic concepts study notes

Kubernetes (commonly known as K8s) is an open source system for automatically deploying, extending, and managing containerized applications and is an “open source” version of Borg, Google’s internal tool.

Kubernetes is currently recognized as the most advanced container cluster management tool. After the release of version 1.0, Kubernetes has been developing at a faster speed […]

Docker Webshpere

Docker Webshpere

Step 1 docker websphere 1. docker pull ibmcom/websphere-traditional:8.5.5.12-profile

2. docker run –name websphere -h test -e UPDATE_HOSTNAME=true -p 9043:9043 -p 9443:9443 -d ibmcom/websphere-traditional:8.5.5.12-profile

3. docker exec websphere cat /tmp/PASSWORD

4. docker run –name test -h test -v $(pwd)/PASSWORD:/tmp/PASSWORD -p 9045:9043 -p 9445:9443 -d ibmcom/websphere-traditional:8.5.5.12-profile

5.websphere? https://172.10.21.30:9043/ibm/console/login.do?action=secure

Install image

The ibmcom/websphere-traditional:install Docker image contains […]