Skip to content

marcinma/k8s-workshops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remember!

Remember to use your names for images, containers, labels etc.

Convention

<command> - represents command
<command|command2> - represent possible commands
<?> - represents placeholder to be filled by task resolution
<??> - represents one or many placeholders to be filled 
# - represents comment, example

Configuration

  1. 2 VMs with docker
  2. SSH Connection
  3. Mounted folder
  4. MobaXTerm
  5. Visual Studio Code
sudo su - 
apt-get update
apt-get install -y docker.io curl openssh-server cifs-utils git
docker version # should return version
git version # should return version
curl google.com # should return 301
mkdir /mnt/docker-workshops
mount.cifs -o username=<hostuser>,domain=<hostdomain> //<host_switch_ip>/docker-workshops /mnt/docker-workshops

connect to docker with

docker -h <docker_host_ip> <command>
# eg. docker -h 192.168.0.1 container ls

Edit /lib/systemd/system/docker.service

/usr/bin/dockerd -H tcp://0.0.0.0:2375
systemctl daemon-reload
systemctl restart docker 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published