dolt icon indicating copy to clipboard operation
dolt copied to clipboard

Addition of Docker image

Open psr-tv2 opened this issue 3 years ago • 11 comments

Hi!

Are there any plans to create a Dockerfile to build and run Dolt via Docker?

Would be great to have it on Dockerhub as well.

psr-tv2 avatar Jul 06 '21 12:07 psr-tv2

Note: I am contemplating creating a Dockerfile for my organization, but could perhaps generalize it.

psr-tv2 avatar Jul 06 '21 12:07 psr-tv2

@psr-tv2 Cc https://docs.dolthub.com/guides/docker

We don't have something pushed to dockerhub yet. We'll get on that ASAP

VinaiRachakonda avatar Jul 06 '21 16:07 VinaiRachakonda

Awesome! Thank you!

The Dockerfile guides looks very nice. To follow best practices one should probably find a way to freeze the Dolt version instead of always downloading the latest when building.

psr-tv2 avatar Jul 07 '21 06:07 psr-tv2

Any updates on this?

jvanderaa avatar Nov 20 '21 15:11 jvanderaa

Josh,

What would you like? On DoltHub, we publish Dockerfiles for repos and we made this guide to build one yourself:

https://docs.dolthub.com/guides/docker

Are you looking for something on Dockerhub?

--Tim

timsehn avatar Nov 20 '21 17:11 timsehn

In some sort of common registry. Whether that is on Docker Hub, GitHub Container Registry, Quay, or other. Just looking to make sure that as I build out the Nautobot docker-compose libraries (and then other applications as well) that there is a single source of the latest and some of the past versions of the container images.

jvanderaa avatar Nov 20 '21 17:11 jvanderaa

Thanks for the clarification. @VinaiRachakonda is on this.

timsehn avatar Nov 21 '21 15:11 timsehn

We have a public registry here: https://gallery.ecr.aws/p1l9q4h7/dolt

VinaiRachakonda avatar Dec 08 '21 22:12 VinaiRachakonda

It would be really nice if the official Dockerfile was included in dolt repo and dolt was available on Docker Hub.

rl1987 avatar Jun 29 '22 11:06 rl1987

Absolutely, @rl1987. I'll go ahead and escalate this.

VinaiRachakonda avatar Jul 06 '22 18:07 VinaiRachakonda

There are four issues in this issue:

  1. Put the sample dockerfiles from https://docs.dolthub.com/introduction/installation/docker#samples in the Dolt repo
  2. Have the Dockerfiles published under "Assets" in each release on GitHub
  3. Find a way to freeze the Dolt version in the Dockerfile, potentially by having the version pulled from the dolt release the Dockerfiles come from
  4. Push these to dockerhub when they change

If we ignore (3), (4) is trivial because they won't ever change.

I think @jennifersp is going to take this one.

timsehn avatar Jul 20 '22 23:07 timsehn

We're woking on publishing official Docker Image on DockerHub, but dolthub account name on DockerHub is taken by former employee and we're trying to get it back.

jennifersp avatar Oct 05 '22 22:10 jennifersp

Quick update:

  • We have added Dockerfile in our dolt repo and published a Docker Image of dolt on DockerHub, https://hub.docker.com/r/dolthub/dolt.
  • We are now working on a Docker Image of dolt sql-server.

jennifersp avatar Oct 14 '22 19:10 jennifersp

We've added Docker Image for dolt sql-server on DockerHub, https://hub.docker.com/r/dolthub/dolt-sql-server

jennifersp avatar Oct 27 '22 16:10 jennifersp

Thanks @jennifersp !

bring-shrubbery avatar Oct 29 '22 07:10 bring-shrubbery