docker-mysql-replication's People
Forkers
aisamu crestone retraut invision70 starlkj sunyoubo truthbk whloyi thomedw kuzhuxuan jamiejackson olublessed ngocngv tleveque-ellevest zhangalex chinaares binxiong pluk1606 conquero qymspace mogilvie manolors massinger ly798 cloudguy007 krajesh22 benfelin rumy4kolpolok fuguohong1024 rene-roscherdocker-mysql-replication's Issues
How to use with vpn to enable multi networks replications
I need to use multi network replication but unfortunately can't use the usual docker networking due to lack of public ip-addresses.
I have been enable to enable muti-host container networking using https://github.com/kylemanna/docker-openvpn. Can I use this for replication?
Here is my dockerfile
RUN apt-get update && apt-get install openvpn -y
RUN apt-get install iputils-ping -y
# RUN apt-get install python3.6 -y
RUN apt-get install curl wget net-tools -y
ADD replication_entrypoint.sh /usr/local/bin/my_replication_entrypoint.sh
RUN chmod +x /usr/local/bin/my_replication_entrypoint.sh
ENTRYPOINT my_replication_entrypoint.sh
And in my_replication_entrypoint.sh, I have
echo "Starting replication"
openvpn --ignore-unknown-option block-outside-dns --config /openvpn/CLIENTNAME.ovpn
# replication-entrypoint.sh mysqld
docker: Error response from daemon: repository not found
If I turn off host machine, or manually stop the docker containers, when I re-launch them I run into this error:
docker: Error response from daemon: repository de8a92bf181b not found: does not exist or no pull access.
docker compose & Question about $MASTER_PORT_3306_TCP_ADDR
Where does $MASTER_PORT_3306_TCP_ADDR
come from, and how does it work?
# If there is a linked master use linked container information
if [ -n "$MASTER_PORT_3306_TCP_ADDR" ]; then
export MASTER_HOST=$MASTER_PORT_3306_TCP_ADDR
export MASTER_PORT=$MASTER_PORT_3306_TCP_PORT
fi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.