zeroc-ice / ice-dockerfiles Goto Github PK
View Code? Open in Web Editor NEWDockerfiles for ZeroC Ice
License: BSD 3-Clause "New" or "Revised" License
Dockerfiles for ZeroC Ice
License: BSD 3-Clause "New" or "Revised" License
There is no logs or output and i have no idea whats going on. Is there anyone to assist? I followed the instruction and setup the both server and client endpoints as i require bidirectional communication.
as title
Hi!
I created a docker-compose to execute the registry and one node without any problem. I'm able to connect to the registry from my host machine with icegridadmin
and I'm able to show the list of nodes (node in my case), loading an application from XML and see the list of servers.
I tried a very simple application with no Ice usage (just a C++ hello world with no Ice at all).
I'm totally unable to enable the server and unable to retrieve the stdout or stderr from the server.
If I read the stderr from the node, I can see the problem:
{
error = 13
path = /var/lib/ice/icegrid/servers/helloworld/config/config
}```
I was able to exec bash inside the container and see the structure of /var/lib/ice directories, and apparently everything is set in place. If I'm correct, error 13 indicates that it's a permission problems, so I tried just to be sure to change the whole /var/lib/ice permissions to root:root ownership and 777 mode, but it still refuses to start the server, showing the same error.
Do you have a clue about what I'm doing incorrectly?
1、How to deploy the distribut ice registy with docker or K8S?
2、How to automatic deploy node service with docker?
docker run --name some-icegridregistry -v /path/to/config:/etc/icegridregistry.conf:ro -v /path/to/folder:/var/lib/ice/icegrid -d zeroc/icegridregistry
Error response from daemon: Cannot restart container some-icegridregistry: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused "rootfs_linux.go:58: mounting \"/path/to/config\" to rootfs \"/mnt/docker-data/overlay/6f931587ed0dec402b98c02966ea7bc14c6706eac23a23b8c767095546e6364f/merged\" at \"/mnt/docker-data/overlay/6f931587ed0dec402b98c02966ea7bc14c6706eac23a23b8c767095546e6364f/merged/etc/icegridregistry.conf\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.