- In
base
executedocker build --tag yanfd-docker-base .
- In the project folder, run
docker-compose up -d
to start the two docker containers node1 and node2.- node1 has IP 192.168.10.225 and node2 has 192.168.10.230
- Use
docker-compose exec node2 bash
anddocker-compse exec node1 bash
to bash into the Docker - Use
docker-compose down -v --rmi all --remove-orphans
to shutdown the docker.
-
Notifications
You must be signed in to change notification settings - Fork 0
zjkmxy/yanfd-docker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published