Posts

Showing posts with the label Pushing a docker image to docker hub

Content

                                                  Content How to create an AWS free Account? Lab 1: To launch amazon Linux EC2 instance Lab 2: To Connect to the instance from Linux client Operating System Lab 3:To Launch amazon windows instance Lab 4: Installing apache in EC2 instance Lab 5: Installing Nginx in EC2 instance Lab 6: Changing Host Name Lab 7: Creating a user and making as a sudoer Lab 8:Assigning an Elastic ip Lab 9:Creating ebs,attach and detach the volumn to the instance Lab 10:Creating an S3 Bucket and creating cross replication in another region Lab 11:Load Balancer Lab 12:Two instances with Application Load Balancer Lab 13:Launching two instances with load Balancer Lab:14 Creating Own VPC  Lab 15: Two instances which classic load Balance with own VPC Lab 16:Two instances with Application load Balancer with own VPC Lab 17: Relational Data B...

Lab 22:Pushing a docker image to docker hub

Image
                                                      Pushing a docker image to docker hub First you need to have an account in docker hub . Create an account in docker hub . https://hub.docker.com/ Create an instance in aws console (refer how to create an instance) Login to gitbash (refer how to login to an instance  in ssh client) Install docker in an instance Check the service is running or not. Switch to root user----------------->sudo su To install docker------------------->yum install docker To start the service--------------->systemctl start docker To check whether the service is running or not ---------------->ps-ef | grep -i docker Now start the service Now the server is running or not Now install nodejs application inside the docker and push the image to docker hub. First make a directory name as docker Inside the directory in...