Hi,
I want to spin up SS cluster with container os “rockylinux”. Also let me know if i can assign specific version of SS in dockerfile,I couldn’t find it.
dockerfile-
FROM rockylinux:8
# Install systemd -- See https://hub.docker.com/_/centos/
RUN rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;
# Install requirements.
RUN yum -y install rpm dnf-plugins-core \
&& yum -y update \
&& yum -y config-manager --set-enabled powertools \
&& yum -y install \
epel-release \
yum-utils \
initscripts \
sudo \
&& yum clean all
RUN yum-config-manager --add-repo https://release.memsql.com/production/rpm/x86_64/repodata/memsql.repo && \
yum install -y memsql-studio
COPY studio.hcl /var/lib/singlestoredb-studio/studio.hcl
EXPOSE 8080/tcp
EXPOSE 3036/tcp
CMD ["memsql-studio"]
studio.hcl
version =1
cluster "68df261b-a26b-4732-82f8-f0e0e60006c0" {
name = "localhost"
description = "localhost"
hostname = "host.docker.internal"
port = 3306
profile = "PRODUCTION"
}
docker-compose.yml
version: '2'
services:
memsql:
image: 'singlestore'
ports:
- 3306:3306
- 8080:8080
Ref link- GitHub - Artum/memsql-studio: Docker file to create MemSQL Studio docker image
I am able to spin up SS cluster but unable to login,
Snapshot-
Pls le me know where I got wrong.
I tried official image it work like charm but it’s size is more than 1gb so i am trying for custom image.
Also I am not able to create new cluster.Pls let me know the same.
I struck here.