Comments (9)
Alright. I'll look into this.
from caprover.
Make sure to deploy your image after you have set the docker registery. Just re-deploy the app and see if it solves it.
The reason is that when you deploy the app before connecting to registry, the image is not replicated in the registry. Therefore only manager has access to it.
from caprover.
I can make sure that the registry is working as I configure it as self registry hosting and the worker node is joined.
I re-deploy the sample node app, replicate it to 10 instance, but only 5 instance up and running and only run on the manager.
from caprover.
Bizarre. I'll be able to look into this in a few hours. Stay tuned.
from caprover.
By the way, do you have any firewall enabled on your manager node. Particularly port 996? You may want to disable your fireball temporarily and retry.
from caprover.
Ok, I'll try to disable ufw for a while.
But do I need to open port 996 in my worker node too?
It seems both of nodes are closed now.
from caprover.
Here is the result after I disable the firewall and try to create mongo-express one click. Neither works.
from caprover.
I just retested the entire thing, and it just works for me. This is my setup/process:
- Get a 1gb server on Digital Ocean
- Setup DNS and do
captainduckduck serversetup
and successfully accessing captain atcaptain.do5.mydomain.com
- Get another 1gb server on Digital Ocean
- run
ufw disable
on both servers - Attach the second server via Captain dashboard "Nodes" section
- Create a selfhosted docker registry via Captain dashboard
- Wait for 1 minute. Refresh the page and login to Captain to see if correctly see
Current Docker Registry: Local at registry.do5.captainduckduck.com:996
- Create a new app.
- IMPORTANT: at this point, if I scale the app, it's gonna fail to create on other nodes.
- I deployed the sample nodejs app to the test app.
- Check if it's working by visiting the link
- Changed the app instance to 4.
- Run
docker service ps srv-captain--test
and I see it correctly spins up instances on worker node:
root@docker-1gb-nyc3-01:~# docker service ps srv-captain--test
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
iwny8s8co7kx srv-captain--test.1 registry.do5.captainduckduck.com:996/img-captain--test:1 docker-1gb-nyc3-01 Running Running 15 seconds ago
tpv7zdzhcabm \_ srv-captain--test.1 registry.do5.captainduckduck.com:996/img-captain--test:1 docker-1gb-nyc3-01-WORKER Shutdown Shutdown 16 seconds ago
vezk6ayqu7p1 \_ srv-captain--test.1 registry.do5.captainduckduck.com:996/img-captain--test docker-1gb-nyc3-01 Shutdown Shutdown 52 seconds ago
rtuthnujbybc \_ srv-captain--test.1 registry.do5.captainduckduck.com:996/img-captain--test docker-1gb-nyc3-01-WORKER Shutdown Rejected 2 minutes ago "No such image: registry.do5.cā¦"
ow1i0yd6prqu \_ srv-captain--test.1 registry.do5.captainduckduck.com:996/img-captain--test docker-1gb-nyc3-01-WORKER Shutdown Rejected 3 minutes ago "No such image: registry.do5.cā¦"
q1uynplz2bv3 srv-captain--test.2 registry.do5.captainduckduck.com:996/img-captain--test:1 docker-1gb-nyc3-01-WORKER Running Running 18 seconds ago
fwju7owg3aiw srv-captain--test.3 registry.do5.captainduckduck.com:996/img-captain--test:1 docker-1gb-nyc3-01 Running Running 19 seconds ago
1xd733af3pgj srv-captain--test.4 registry.do5.captainduckduck.com:996/img-captain--test:1 docker-1gb-nyc3-01-WORKER Running Running 18 seconds ago
As you can see above, there are 4 instances running, 2 on main node, 2 on worker node. Can you please re-test?
from caprover.
I tried with different containers and cannot reproduce the issue. Please upgrade to latest version (v0.3.1) and re-open if the issue still exists.
You can update your instance by going to web dashboard > settings > install updates.
from caprover.
Related Issues (20)
- MongoBD in CapRover App cannot connect from local machine HOT 2
- [Question] HOT 1
- Deploying from github does not read environment variable HOT 3
- Issue with using Redis app HOT 1
- [Question] Configure app CPU and Memory limits HOT 1
- View application logs from the CLI
- [Deployment Issue] Verification Failed HOT 5
- [Feature] Build from personal one click application git repository HOT 1
- Lobe-Chat One-Click App Deployment Help / New Add HOT 1
- [Question] Unable to access CapRover dashboard after domain expiration HOT 4
- Support Default Seettings for Containers
- OpenVPN fails enabling HTTPS HOT 3
- CapRover is no longer open source but still lists open source on the website and documentation. HOT 1
- CapRover isn't Open Source, and denies the Open Source Initiative's definition of it HOT 3
- Caprover not replicating new one click apps and not neither restarting HOT 2
- [Question] CertBot Docker container using a no longer supported version HOT 1
- directory index of "/app/" is forbidden [Question] HOT 4
- [Question] how to add mimtype? HOT 1
- Deploying Caprover - ARM SSL Error HOT 4
- [Deployment Issue] On Click App Strapi
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.
from caprover.