I installed docker in my windows operating system. And now I want to install postgresql database on docker, but I couldn't find any image file for windows. Could any one tell me how to create an image file for postgresql or how to get postgesql file for windows from docker hub? Please share the documents if possible.
Try this doc, in my opinion, images are the same between Win and linux. The difference is your environment, you run commands from a docker VM.
But commands docker are the same.
Related
I have a Db2 11.5 Trial Version image for installing db2 on RHEL7. I have no connectivity with the internet where docker installed and I want to configure db2 on docker with that 11.5 Trial Version image.
Is there any limitation to use only docker certified image for dockerization?.
There's no requirement that you use IBM's docker images when running Db2 in Docker. You can absolutely build your own Docker images from the standard installable code.
However, are you aware that you can "export" Docker images to using docker save and "import" them using docker import? This is certainly one way you could get IBM's official docker images on to a machine that does not have direct internet access.
Currently, I have:
a desktop with low system specs, Windows 7 Pro (without Admin Rights), without docker.
a Virtual Machine with Centos7, and docker installed.
On my desktop, I can either use:
my local installation of VSCode, and Remote - SSH to develop remotely on my VM. It works well, but I can't combine this with Remote - Containers.
X11Forwarding to develop directly with VSCode installed on this VM. I can use Remote - Containers, but X11 is very slow.
Is there a way, with local VSCode, to develop in a remote container, without local installation of docker (obviously with docker installed on the host)?
Is there a way, with local VSCode, to develop in a remote container,
without local installation of docker (obviously with docker installed
on the host)?
No. In the 'advanced containers' docs it says
You can use the Docker CLI locally with a remote Docker host by
setting local environment variables like DOCKER_HOST,
DOCKER_CERT_PATH, DOCKER_TLS_VERIFY. Since VS Code uses the Docker CLI
under the hood, you can use these same environment variables to
connect the Remote - Containers extension to the same remote host.
I added the bolding. Note that it is referring to the client not the remote there. This is from Developing inside a container on a remote Docker host.
Though not officially supported, it seems that it is possible to install Docker CLI without the daemon...
Is it possible to install only the docker cli and not the daemon
Maybe you can do this without admin?
That would, though, certainly be swimming against the grain. Probably your best bet is to stick with the 'remote - SSH' setup you've got going.
I just achieved this using the solution linked by #Tom (but with admin rights, I didn't test it without them)
I downloaded the docker-cli from the docker-cli-builder github repo and created the docker context successfully.
After selecting it in VSCode, it has started using the context allowing me to see the containers on the remote machine.
We have build a small tool called LiveSync which could solve your problem. You simply run
python3 -m pip install livesync
livesync <virtual-machine>
from inside your vscode workspace. It will start watching for changes and push them immediately to the remote. Hence you can code locally (even run your tests) and have all changes synced with your target system.
My environment is using the following docker images:
postgres:11
dpage/pgadmin4
On a machine using unRaid for it's OS.
My issue is that I'm unable to backup anything on my postgres 11 server via pgadmin4. pgadmin4 returns the following error:
pg_dump: server version: 11.2 (Debian 11.2-1.pgdg90+1); pg_dump version: 10.5
pg_dump: aborting because of server version mismatch
There was a similar question asked here: PostgresSQL / pgAdmin4 / dump server version mismatch
They resolved in by changing the bin path, however these are docker images, and I am unable to find standalone binary file for Postgres 11 for Linux.
There is a issue in relation to this exact problem, but it was rejected and closed: https://redmine.postgresql.org/issues/3843
I'm looking for any assistance to get/replace the tools in pgadmin4 so it can properly talk to postgres11.
Turns out the solution for now is to use the snapshot build of pgadmin4's docker image.
It had something to do the tools available in Alpine Linux's docker image at the time, according to Dave Page, the maintainer of pgadmin4's docker images. They were updated recently and used in the snapshot image's build.
Whoever packaged the pgAdmin 4 you are using packaged it with a PostgreSQL v10 client.
So that's where you'll have to complain.
In this case it is obviously Dave Page.
The website of the Docker image (https://hub.docker.com/r/dpage/pgadmin4/) suggests:
Please report any issues through the pgAdmin support channels. See https://www.pgadmin.org/support/list/
So I guess the correct channel is to subscribe to that mailing list and voice your complaint there.
Sorry that this is so complicated, but the various tools in the PostgreSQL universe are maintained by different, albeit somewhat related, groups, each of which has its own channels.
I was just wondering if it is possible to run KSQL on windows machine. I downloaded from https://www.confluent.io/product/ksql/ and not sure how to set up and run.
Thanks
MR
Your best bet is to run it under Docker. You can find the images on Docker Hub, and there are Docker Compose files to bring up the full stack as required.
I need to install and run Kurento Media Server in a Cent OS to use it for Large Scale Webrtc Application for one to many conferences .
I heard that it can be done through Docker.
So if some can guide me through the steps to do so I will be thankful.
But if you know some other way to install and run Kurento Media Server in Cent OS
then that is fine with me.
You will find several examples in the Docker Hub, see https://registry.hub.docker.com/search?q=kurento&searchfield= and some examples
so you can get one, issue a docker history to see what commands were used to build (and some docker inspect on each layer), or simply use https://github.com/CenturyLinkLabs/dockerfile-from-image to generate the associated Dockerfile