Docker Swarm

Run the following command to initialize docker swarm. root@ip-172-31-91-97:/home/ubuntu# docker swarm init –advertise-addr 52.203.29.219 Swarm initialized: current node (zhqxor0uw79okh8thcm6boj0o) is now a manager. To add a worker to this swarm, run the following command: docker swarm join –token SWMTKN-1-105nukjje4l0yys14czxrpma8a2cxy1xx2y2n09u490pw1ve4i-4faqsr4p0hrjofywizcp04c6r 52.203.29.219:2377…

git commands

Some important git commands. git  initgit  add name-of-filegit add -aGit commit stores the changes made to the file in the local repositorygit commit -m “message” git status git config –global user.name “Arunlal”git config –global user.email emailaddress@gmail.com git branchgit branch newbranchgit checkout…

Posts navigation