Skip to content

mbolka/SWL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wymagany docker w wersji 18.06

$ docker -v
Docker version 18.06.1-ce, build e68fc7a

How to use it:

git clone http://github.com/mbolka/SWL
cd SWL
docker swarm init
git checkout task/Z1
docker-compose up -d

Aby podłączyć się do klienta:

docker exec -it client bash

Następnie na kliencie

curl -x{p1|p2|p3}:3128 {URL}

przykład:

curl -x p2:3128 http://plan-pwr.net

Aby połączyć się z określoną maszyną

docker exec -it {p1|p2|p3} bash

np

docker exec -it p1 bash

Po zakończeniu zdania:

docker-compose down

Aby zmienić przykład:

git checkout task/{Z1/Z2/Z3/Z4}
docker-compose up -d

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •