Comments (3)
This fails with the error Failed to connect to bus: No such file or directory
That's happening because systemd
isn't running in the container, and it tries to start the sync_gateway systemd service for convenience reasons.
Some ideas to get around that:
dpkg
might have a flag to prevent thesystemctl start sync_gateway
step from running (@ajres have you heard of that?)- If there is a zip file download available for Sync Gateway, you could use that instead
- Install
go
, clone the Sync Gateway repo, and build it from source during thedocker build
step using these instructions
I want to use ubuntu as I want to run my app and sync_gateway in the same container
Just as a heads up, that approach is "frowned upon" by docker purists, who advocate basically running a single process in a container. Having said that, I get that sometimes that it's not feasible given other constraints.
What is the reason that the sync_gateway Dockerfile uses centos rather than ubuntu (the Couchbase Server Dockerfile uses ubuntu)?
I think it was just because most enterprise users gravitate towards RHEL and CentOS.
I'm going to close the issue until there are any action items, just to try to keep the issue tracker clean .. but feel free to continue the discussion here!
from docker.
Here is the .tar.gz version of a recent Sync Gateway version: http://latestbuilds.hq.couchbase.com/couchbase-sync-gateway/1.4.1/1.4.1-3/couchbase-sync-gateway-community_1.4.1-3_x86_64.tar.gz
from docker.
Thanks Traun,
I'll try with this tgz file today.
The explanation in the previous message made sense as well. On your point about preventing the systemctl cmd from running, I'm not sure if there's an option to do that, but I believe you can run "dpkg --unpack" rather than "--install" to just unpack the pkg file without configuring. I guess this would be the same as (or very similar to) extracting the tgz file, so I can try this.
Regards,
Giles
from docker.
Related Issues (20)
- Views error ({badmatch,{error,ebusy}}) HOT 3
- Example bucket config in SG README no longer exists HOT 1
- CPU usage in Docker Desktop for Mac HOT 1
- Syncgateway exposing its version on landing page(root url) HOT 1
- Windows DockerFile for community edition HOT 2
- dockerfile config changes HOT 1
- Error in XDCR using Docker HOT 1
- Docker MAINTAINER is deprecated. Might wanna use LABEL instead. HOT 1
- Couchbase Server 7.0.0-5302 is not available
- Deploying to a swarm HOT 5
- Go 1.8 prevents the image from working on Apple M1 HOT 3
- couchbase docker images will not run on M1 Mac architecture HOT 3
- CVE-2021-44228 HOT 2
- Publish aarch64 couchbase images HOT 11
- Couchbase-server official docker image starting but cant connect to it && no log errors HOT 1
- Use Multi-Arch Build instead of creating separate images HOT 2
- How to disable Prometheus when running couchbase as container HOT 2
- Sync Gateway does not start with docker-compose
- 7.1.0+ Images Don't Work On Apple Silicon M2 HOT 2
- enterprise-7.2.3 exec formst issue while enterprise-7.2.2 is working
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 docker.