Comments (3)
Hi @guillermomolina,
Sorry for the delay in my response. This is very interesting, and something we'd very much like to explore. I've simply not had the cycles to look at this and try it out, but would very much like to.
Are there any restrictions on your current implementation with regards to Solaris or Python versions?
Also it would be good to understand how you'd like to use this? I.e. what is the use case and what is critical to work well?
What would you think is a good next step?
Cheers,
Joost.
from oraclesolaris-contrib.
Hi @joostpvh
There are no restrictions regarding to Solaris, I do use oci branded zone, because I manage zones with runz. So you need a more or less updated Solaris 11(.4?).
But as runz itself seems to be a small wrapper over zonecfg/zoneadm, you may very well go and modify oci-solaris-python to use another "backend", maybe zonecfg/zoneadm directly or use rad.
Python version is not an issue, I am using python 3 so we are safe there.
The goal here is that Solaris goes "OCI" compliant. the project oci-solaris-python exists because runz is buggy and undocumented. I had to reverse engineer it (live debugging it with gdb) in order to make it work, So fixing would help a lot. What I want to do is something like this:
oci container run -dit --name my-apache-app -p 8080:80 -v "$PWD":/var/apache2/2.4/htdocs httpd:2.4
And get an apache running at port 8080
IPS has a big constraint in Solaris repo, all packages depends on core-os and core-os depends on many other packages. So the minimum install is very big for a container. A more granular dependency system would help on keeping Solaris oci images smaller even if you are using IPS to install software. I am using a trick here in order to have smaller containers, I create a local repo and take out the core-os dependency for the packages. With that I get containers (zones) of less than 50mb, still using IPS.
Zones are heavier than other container implementations even native zones. For example, the use of Solaris without SMF is a bit hacky. svcs are too hard coded into the system. It would be nice to work a little more with oci branded zones in that respect. In the docker world, most of the time there is only one service working, which is tied to the health of the container itself. The containerd daemon is the watch dog.
The next step is to add network and volume services to the containers.
Cheers,
Guillermo
from oraclesolaris-contrib.
Hi Guillermo,
thank you for sharing this - and also sorry for my late response.
I'm looking forward to try it out and explore the possibilities this offers.
I hope to give you some feedback soon.
Cheers,
Jรถrg
from oraclesolaris-contrib.
Related Issues (10)
- So Many Parentheses ...
- update 05_Install_OCICLI_on_Oracle_Solaris with OpenSSL 1.1 and Python 3.7 removals from Solaris 11.4 HOT 2
- update 05_Install_OCICLI_on_Oracle_Solaris with updated instructions for SRU
- OracleSolaris_OCI/Launch_Solaris_with_Terraform needs to include Application Catalog subscription
- CORS support HOT 4
- RAD REST client API and CLI HOT 1
- Build fails on OpenIndiana HOT 4
- Mutt dumps core HOT 2
- jdk-11 and jdk-12 do not build on Solaris 11.4 with Solaris Studio 12.4 HOT 4
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 oraclesolaris-contrib.