Comments (8)
Glad to hear it, I'll close this issue for now and track making couchbasefakeit
depend on couchbase-quickinit
separately. Let me know if you run into any other issues.
from couchbasefakeit.
Couchbase supports arm64 from version +7.1 . Running 7.2.2 I get similar error:
[+] Running 3/0
✔ Network db_default Created 0.0s
✔ Container db-couchbase-1 Created 0.0s
! couchbase The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
Attaching to db-couchbase-1
db-couchbase-1 | CB_VERSION=7.2.2
db-couchbase-1 | Initializing Couchbase Server 7.2.2...
db-couchbase-1 | Starting Couchbase Server -- Web UI available at http://<ip>:8091
db-couchbase-1 | and logs available in /opt/couchbase/var/lib/couchbase/logs
db-couchbase-1 | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
db-couchbase-1 | /opt/couchbase/bin/couchbase-server: line 166: 150 Segmentation fault erl -noshell -setcookie nocookie -sname init -run init stop 2>&1 > /dev/null
db-couchbase-1 | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
db-couchbase-1 | /opt/couchbase/bin/couchbase-server: line 166: 237 Segmentation fault erl -noshell -setcookie nocookie -sname init -run init stop 2>&1 > /dev/null
db-couchbase-1 | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
db-couchbase-1 | /opt/couchbase/bin/couchbase-server: line 166: 324 Segmentation fault erl -noshell -setcookie nocookie -sname init -run init stop 2>&1 > /dev/null
from couchbasefakeit.
Unfortunately, this is going to be a bit difficult. One of the components used under the hood is the https://github.com/bentonam/fakeit library. This library isn't being maintained and still uses the NodeJS Couchbase SDK 2.x. This SDK in turn uses an older version of libcouchbase
which doesn't appear to compile successfully on ARM64.
@bentonam Would you accept a PR updating to the latest Couchbase SDK for fakeit so that I don't need to fork?
from couchbasefakeit.
Thanks @brantburnett, could we make this component optional? I really do not need to generate data yet. It could be done in a second phase, once the fakeit component is available for arm64 images
from couchbasefakeit.
Sorry this has taken me a few days, it involved a few rabbit holes I had to go down. That said, I've released a new image here: https://hub.docker.com/repository/docker/btburnett3/couchbase-quickinit/general
This image has all of the features except for fakeit
support, while also adding ARM64 images for 7.1 and 7.2 versions. The intention here is that it becomes the base image extended by couchbasefakeit
. Having it in a separate image should help reduce confusion, rather than having different features on this image depending on platform.
Can you try this image out for me and see if it works for you? I don't yet have an Apple Silicon device to test this with.
from couchbasefakeit.
No worries, thanks a lot for the effort. Unfortunately, I got the following error:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/scripts/configure-node.sh": permission denied: unknown.
from couchbasefakeit.
Ahh, I knew I forgot something. Needed to set executable bits on the scripts since the build agent is building on Linux not Windows. Can you try pulling the latest image?
from couchbasefakeit.
Amazing! It is working now. Thanks a lot
from couchbasefakeit.
Related Issues (6)
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 couchbasefakeit.