tarantool / tarantool

Get your data in RAM. Get compute close to data. Enjoy the performance.
https://www.tarantool.io
Other
3.4k stars 379 forks source link

Docker images must follow common guidelines #1502

Closed knazarov closed 8 years ago

knazarov commented 8 years ago

Usually docker containers are not built with different guest operating system. Instead, the maintainer picks one OS and sticks with it. For databases it is usually debian:jesse at this moment.

Plus, releases are tagged by major versions as to have e.g.:

See for example how it's done for Cassandra: https://hub.docker.com/r/library/cassandra/tags/

What I propose:

saks commented 8 years ago

Why not to use alpine image as base, since docker will use it for official images?

knazarov commented 8 years ago

@saks Yeah, I already reconsidered that. See https://github.com/tarantool/tarantool-docker/tree/alpine-based-images

I've implemented the 1.7 and 1.6 images based on Alpine. The only problem that exists so far is that I don't know how to generate C.UTF-8 locale. The locale-generating stuff is missing in the distro.

saks commented 8 years ago

@racktear Thanks! Will try it out soon! Another question: any plans to make an "official" docker image that will be possible to pull with docker pull tarantool?

knazarov commented 8 years ago

@saks Yes. That's what I'm up to. For the time being, you can use https://hub.docker.com/r/tarantool/tarantool/

UPD: just do docker pull tarantool/tarantool

knazarov commented 8 years ago

Run bootstrap scripts once in Docker containers

knazarov commented 8 years ago

Add "batteries" to the docker container

rtsisyk commented 8 years ago

@racktear I think this ticket is finished.