anybody has a running Liberty 16.0.0.4 in Docker? Custom Dockerfile?
Last one seems to be officially available (Docker) is 16.0.0.3 but maybe I'm missing something...
The websphere-liberty image on Docker Hub is at the 16.0.0.4 level.
$ docker run websphere-liberty:latest productInfo version
Product name: WebSphere Application Server
Product version: 16.0.0.4
Product edition: BASE_ILAN
Related
I have Windows Docker Desktop, my os is Windows 10 enterprise , version 20h2
Docker for windows working... i have a small mvc asp.net3.1 application.
I create my docker image and i am able to run the container locally.
Everything is working from my local.
Now i uploaded the image to AWS ECR, create my taskDef and service.
Unfortunatelly the task does not start with the error :
failed to create new container runtime task: failed to create shim: hcs::CreateComputeSystem 95cade147ae4418ab3d68ea1a2c70800-2341308736: The container operating system does not match the host operat
I have seen some compatibility list from microsoft on the OS https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility?tabs=windows-server-2022%2Cwindows-11-21H2
I check i have hyperv and all..
Does anyone know how i can make the image compatible? This seems to be a known issues, but i am kind of blocked here.
Thanks
The error indicates you have a different image version versus the host version. What is the base image on your dockerfile? And do you know what is the host version on your AWS environment? For reference, here's the documentation on host compatibility: https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility?tabs=windows-server-2022%2Cwindows-11-21H2
Good Day:
I have been trying to create an Odoo 12 community version container on Docker in Synology DSM. Which source/tag should I use for this purpose?
The following source is the one I have been working with directly from Synology Docker:
https://hub.docker.com/_/odoo/
(Tag: Latest)
The only thing I have been able to do is creating a container for Odoo 12 enterprise, but not for Odoo 12 community.
Please advise.
Regards,
The official Odoo docker version is currently from date 2018-10-08 and it had a bug that showed incorrectly Enterprise version in Settings page also in Community version. So the good news is that you are in fact already running Community version. The bug was fixed in this commit.
The more complicated question is what version of docker image should you run. The official Odoo docker image (library/odoo or _/odoo or just odoo) does not get updated very frequently. It is not updated to fix issues. I would not recommend it for any other use than testing.
You can use other images that are updated more frequently and have static tags, e.g. I maintain an image with nightly Odoo builds. It is named veivaa/odoo. You can use a specific version of Odoo nightly build with tag version-date, e.g. veivaa/odoo:12.0-20181106. The nightly image can be found in Docker store at https://store.docker.com/community/images/veivaa/odoo. This version is updated on ”best effort” bases.
You find more information on running Odoo in Docker in my blog.
It is also not best practice with Docker to use the latest tag in production use or if you need to be able to keep the container stable. This is because you would get a different version depending on when you pull the image. Best practice is to either use a stable nonchanging tag, or build your own Dockerfile and image in own container registry.
i run the following command to deploy a new cluster:
docker run --net=host -t -e LICENSE=accept -v "$(pwd)":/installer/cluster ibmcom/icp-inception:2.1.0.2-ee install
and i get this response:
Unable to find image 'ibmcom/icp-inception:2.1.0.2-ee' locally
docker: Error response from daemon: manifest for ibmcom/icp-inception:2.1.0.2-ee not found.
See 'docker run --help'.
This happened about a couple of weeks ago, and when i did nothing other than wait a few days and tried again, the command worked. It is as if the tag, 2.1.0.2-ee is not accessible. indeed, when i go to docker hub, i don't see that tag listed. But then i'm a newbie with docker hub so I'm not sure if i'm interpreting this correctly.
is it me, or is ee not available to all? i could do a docker pull with ce, no problem.
Thanks
It isn't you! ibmcom/icp-inception:2.1.0.2-ee points to the paid-for version of IBM Cloud Private and is not distributed through DockerHub. We distribute our community edition, ibmcom/icp-inception:2.1.0.2-ce, (which is free to use) via DockerHub, which is why you are not having any issues with ce.
The only difference you will find between Community Edition and Enterprise Edition is that multi-master deployments and production are not enabled in Community Edition.
Let me know if you have any further questions.
Thanks everyone on slack and stack overflow.
My mistake was that the snapshot that i took just prior to deploying the cluster successfully was not what i thought.
i think i must have checkpointed prior to loading ee into docker rather than just before running icp-inception.
It makes sense that icp ee is not publicly downloadable.
I have a rhel7 host with docker in it.
I have build a image with also rhel7 as base image.
But when I run the container & do yum update or try to install in package with yum, it gives me below error.
"This system is not registered to Red Hat Subscription.you can use subscription manager to register"
I have already subscribed the host RHEL Machine. Do I need to subscribe each and every container with rhel image?
Or
Do I need to subscribe in the dockerfile itself while building the image?
Thanks
On the Docker hub, you can find some Red Hat docker images , like
https://hub.docker.com/r/richxsl/rhel6.5/
or
https://hub.docker.com/r/lionelman45/rhel7/
but in order to update them, you will need a valid subscription
You will find Red Hat docker images on the Red Hat site, at
https://access.redhat.com/containers
this article summarizes what you need in order to build a Red hat docker image
http://cloudgeekz.com/625/howto-create-a-docker-image-for-rhel.html
it begins with
Pre-requisites
Access to RHEL package repository.
With RHEL 8 Red Hat now offers a universal base image for docker containers which does not require a subscription.
The RHEL 7 documentation covers this. Please use your subscription to read section 1.4.
Paraphrasing what the documentation says:
You must use a subscribed RHEL 7 host to build containers
Containers based on RHEL 7 will use the host's subscription automatically and be able to access the RHEL 7 yum repositories
If you are trying to build RHEL 7 based containers on a properly subscribed RHEL 7 host and it doesn't work, you might be running into a bug. I would contact support to try and sort this out.
I used podman to pull RHEL 7 Universal Base Image, like this:
podman pull registry.access.redhat.com/ubi7/ubi
After that, although I still saw the warning message:
This system is not registered with an entitlement server. You can use subscription-manager to register.
but there was no issue to use yum for package installation or update.
You can also use RHEL8 ubi in the same approach without any issue.
I found this article that clarifies the RHEL UBI images which do not need a subscription.
https://developers.redhat.com/blog/2020/03/24/red-hat-universal-base-images-for-docker-users/
docker search registry.access.redhat.com/ubi
docker run -it --name test registry.access.redhat.com/ubi8/ubi:8.1 bash
I tried yum to install a netcat command which worked seamlessly
The RHEL UBI image contains 3 default repos (see yum repolist). Subscription is required for the CodeReady repo (ubi-8-codeready-builder).
If you decide to NOT subscribe then you can hide those warnings with:
yum --disableplugin=subscription-manager install <package>
Source:
https://developers.redhat.com/blog/2020/03/24/red-hat-universal-base-images-for-docker-users/
I have just built a containerized ruby on rails application. The application was originally running on CentOS servers, but my containerized version runs inside the ruby:2.2.0 docker image which is Debian based.
For the sake of simplicity it would be slightly better if I could have it run in a Redhat or CentOS based version of this docker image instead. So is there an exact Redhat or CentOS based equivalent of the official ruby:2.2.0 docker image?
Note: I don't have any real need at the moment to run this inside of Redhat instead of Debian, so if the image I'm looking for doesn't exist then, to me, its not worth the time and effort of building one from scratch.
Thanks #ryekayo, after some editing of https://github.com/volanja/docker-ruby2.2.0/blob/master/Dockerfile I got a working version.