Hi,
May I know which specific Window OS can support Docker?
Does Windows Server 2022 Datacenter support Docker?
How to install docker if Windows Server 2022 Datacenter supports it?
Currently the database is on Windows Server 2022 Datacenter OS
Hi Cindy,
Is your question related to an on-premise OutSystems infrastructure?
From the content of your question, I would almost think you are on the wrong forum, and this question would be better asked on a forum dedicated to Microsoft products.
Regards,
Daniel
Hi Daniel,
Yes. My question is related to an on-premise OutSystems infrastructure.
So I have asked Microsoft, is that correct?
OutSystems does not support docker for O11 installations.
In the past they tried and it was not successful, and this was discontinued (see https://www.outsystems.com/forums/discussion/58011/not-able-to-create-docker-container-in-deployment-zone/)
Here are some old threads, but this no longer works:
https://www.outsystems.com/forums/discussion/50958/outsystems-with-docker/
https://www.outsystems.com/forums/discussion/22326/support-for-dockers-and-kubernetes/
The new ODC platform (OutSystems Developer Cloud) does use containers and kubernetes to orchestrate them.
Hello,Daniel, I believe Cindy is asking about deploying the OutSystems Cloud Connector on Docker in Windows Server to connect ODC to on-premises resources (in this case a databse), and not about running OutSystems 11 on Docker.https://github.com/OutSystems/cloud-connectorCindy, it is possible to run the Cloud Connector on Docker in Windows Server, but since it is a Linux container I think it needs to run on Docker inside WSL running in Windows, and not just Docker on Windows.About WSL support in Windows Server and how to set it up, I suggest starting here:https://learn.microsoft.com/en-us/windows/wsl/install-on-serverOnce you get WSL running, you need to install Docker on the Linux distro chosen (Ubuntu by default), and then run the Cloud Connector there.
It seems that it was also possible to run Linux containers with Docker on Windows, but it was using a Linux VM on Hyper-V behind the scenes.https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/linux-containersBut I have never tried it this way.
She replied that she ment an Onpremise OutSystems infrastructure, obviously I would think we talk about OutSystems11, there is no Onpremise ODC.
Hi Sergio, If I used window 2022 datacenter operating system on the cloud connector machine,can I just install Docker Desktop to setup the cloud connector or I have to install Linux containers to setup the cloud connector?
Thanks.
Sorry my question is related to on-premise cloud connector
No problem, glad we clarified this is about ODC.
Maybe this session of the ONE2023 conference last year, by my collegues Nordin Ahdi and Aurelio dos Santos helps:
https://learn.outsystems.com/training/journeys/one-conference-2023-695/securely-tunnel-your-way-into-your-private-network-with-odc/odc/3815
You'll learn how to easily run OCC on Windows machines, and how to configure a secure gateway connection in ODC Portal. As a bonus, you will also learn how to set up an external integration to an on-premise database using an existing secure gateway connection.
I am trying to setup the cloud connector on Windows machine.
When I run docker run --rm -it ghcr.io/outsystems/outsystemscc:latest at the PowerShell
encounter these 2 errors
docker: error during connect: in the default daemon configuration on windows,
the docker client must be run with elevated privileges to connect: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //.pipe/docker_engine:The system cannot find the file specified.
docker: request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create, check if the server supports the requested API version
I suspected it is due to I did not run the docker image in Outsystems github container registry.
May i know the steps how to run docker image in Outsystems github container registry.
Anyone can advise me.
Are you executing that command in PowerShell running as Administrator?
Hi Sergio,
I managed to run the command in the docker but encountered these 2 errors.
First error encountered when running docker command
Second error encountered when running outsystemscc \ --header "token: ..." command
You should check to container documentation, because when you run it you need to provide as parameters the address of the private gateway, the ports you want to use on the gateway, and the remote IPs/hostnames and ports on your infrastructure that you want to provide access to through the Cloud Connector.
I managed to get the command running at the command prompt.I run the docker run -d --restart=on-failure:3 -it ghcr.io/outsystems/outsystemscc:latest --keepalive 20s --header