Table of contents
No headings in the article.
Step 1 : Create AWS/Azure instance (CENTOS 7-as further labs in the sessions are being done on CENTOS07)
Below article has all details on how to create an AWS linux instance, (docs.aws.amazon.com/efs/latest/ug/gs-step-o..)
NOTE: There would be another session on how to create an instance on AWS and Azure, in case above doesn't help!
Step 2 : SSH to linux instance created,
Open your terminal (Macbook)/ Putty (Windows)/AWS Connect instance
Later on connect as root, .i.e. azureuser will changed to root ---- Command (sudo su)
Step 3 : Disable firewall and configure a swap memory for docker,
Step 4 : Install Docker via setting up a repository from where we need to pick the image,
-- Updating yum repository pkg
--Updating repo,
--Installing Docker,
--Checking status of docker post installation and starting it,
-- Running hello-world to test docker,
-- Check if the image is pulled,
-- Check if image is download which you pull,
-- Check how many versions are available for a particular image, for e.g centos
-- So now if you just command docker pull centos, it will pick up the official build with latest version which it has,
--Now, if you run with container name to login, below is output,
docker run OR docker attach
-- Details of how long a container was active and exit the container,