Open KipTwitchell opened 2 years ago
results of testing today:
Using @hammyau 's suggested link, we have started trying to use Colima: https://opensource.com/article/22/9/docker-desktop-colima?utm_medium=Email&utm_campaign=weekly&sc_cid=7013a0000038AIXAA2
I deleted Docker Desktop, but did not attempt to uninstall Docker Engine, which Colima needs. Colima can use Podman, which would be an alternative to Docker if we wanted.
Questions raised were if Dockerfile is being used for the docker image control, where on my PC is that file, and how do we control source code for building the demo system if we get this to work.
Was able to get past the install issues above. Continued with the steps in this site: https://smallsharpsoftwaretools.com/tutorials/use-colima-to-run-docker-containers-on-macos/ including:
Oct 28th progress:
Did not solve the firewall container issue. But we did successfully download the docker GenevaERS Postgres container, and started it, using the following command: `Docker run -p:5432:5000 ktwitchell001/genevaers:genevaers_pe-demo0.1'
Next attempt to go further in networking configuration with this set of commands:
1 sudo docker inspect -f '{{ .NetworkSettings.Gateway }}'
This command did not work for us. Instead we used this command, but that probably gives us the wrong IP address: docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
Results of this today was: 127.0.0.1 localhost
sudo docker exec -it [container] /bin/bash
$ sudo vim /etc/hosts
192.168.5.1 localhost
Today, Neil and I remembered what work we had done for workbench on Docker progress:
Here is the docker image pushed to docker hub, with postgres and the demo data installed. This needs to be tested on a new machine. https://hub.docker.com/repository/docker/ktwitchell001/genevaers https://hub.docker.com/layers/205777161/ktwitchell001/genevaers/genevaers_pe-demo0.1/images/sha256-d5ef38f176d7d5b6db66bfee8bf5cb5dc0572e88a48962d5ae991bb0caf63e04?context=repo
Suggested command to add it to your docker library is "ADD file:16dc2c6d1932194edec28d730b004fd6deca3d0f0e1a07bc5b8b6e8a1662f7af in /"