Questions tagged [docker]

The container software docker. https://www.docker.com

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Setting up a Docker compose for Mysql and Vitess

With the recent announcement of Planetscale shutting down its lower and free tiers I've found myself in a bit of a situation. I have a Serverless app which is connected to a Mysql database in ...
Leonardo Petrucci's user avatar
0 votes
0 answers
21 views

After upgrading to the latest docker image from yesterday, nextcloud connections are broken

After upgrading to https://hub.docker.com/layers/library/mariadb/latest/images/sha256-dae04d35ddd4ca837c1d330962eab9b5577325d1751e1877203b3fafe67b5daa?context=explore&tab=vulnerabilities ...
Hug's user avatar
  • 101
0 votes
0 answers
59 views

How do I fix a permission denied error when starting a MariaDB Galera node

I'm trying to spin up a galera cluster based on the official MariaDB 11.2 docker image. My dockerfile is below. When I start the node, I'm getting a permission denied error that is preventing the ...
CrossBound's user avatar
0 votes
0 answers
34 views

How do I add pg_repack to a Postgres container?

I need to create a custom Postgres Docker container with many plugins. So far, I've gotten only one of them working. Another, pg_repack, is giving me grief. My Dockerfile: FROM postgres:16 RUN apt-...
Sturm's user avatar
  • 101
0 votes
1 answer
33 views

Ram usage increases in MySQL after backup

I have a mysql 8.0.31 running in docker form (the server is running ubuntu) the problem i am having is that after each backup that i run (i run it every hour) the ram consumption increases and never ...
Pablo Arriola's user avatar
0 votes
0 answers
15 views

Dockerized MySQL suddenly shutdown

There are 15 microservices, each has MySQL 8.0.35. The services used to be implemented on the host system, however, we recently switched to Docker. Four of the microservices that were under more read ...
M a m a D's user avatar
  • 101
0 votes
0 answers
44 views

Block access from pgAdmin to Postgres in kubernetes

We are trying to setup a pgAdmin but want to avoid that the root user could connect and create, update or delete anything. We have create a new readonly-user for this case and this works fine. But it ...
user6266369's user avatar
0 votes
0 answers
31 views

ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported config option for services.networks: 'app'

I get This error when I execute I try to execute this command docker-compose up Below is my docker-compose.yml version: '3.4' services: backend: build: context: ./backend_app ...
harristars's user avatar
0 votes
0 answers
34 views

Unable to connect to MySQL Server from node.js, but works from JetBrains Datagrip

I have a server where docker containers are running. Node.js docker MySQL docker They are able to communicate each other without any problem. To connect to MySQL database from outside the server, I ...
aspirinemaga's user avatar
1 vote
1 answer
118 views

How to change defaults in oracle docker image

I have been trying to change a few defaults in the database and set a language in default oracle docker image, but I have been failing. I have been trying to ALTER SYSTEM SET NLS_LANGUAGE = 'GERMAN' ...
pnikonowicz's user avatar
0 votes
0 answers
18 views

How do I create non-local volume in docker compose?

I'm experimenting with my fork of docker zfs plugin, to create separate filesystem for each volume. docker volume create -d zfs my_volume creates my_volume as expected, but version: "3.9" ...
Alex Povolotsky's user avatar
0 votes
0 answers
23 views

Managed database or docker image with data-volume?

I've mostly used managed database (AWS RDS) for production. I was fiddling with docker and was wondering if it's a good idea to have containerised postgres database with data-volume? I feel it may not ...
Indyarocks's user avatar
0 votes
1 answer
185 views

Configure Oracle 23c docker image in 19c compatibility mode

I need to build an Oracle 19c development environment using Docker; however there is no dev version of Oracle 19c with Partitioning available, whereas 23c does have a free version for developers with ...
simonalexander2005's user avatar
0 votes
1 answer
109 views

MariaDB writes more the 30GB/day temp data

I´ve a Synology NAS where I´m running a Nextcloud in a Docker Container and a MariaDB in an other Docker Container. On a day the the NAS and also the Nextcloud doesn´t do anything, on my SSD are over ...
Holger's user avatar
  • 1
0 votes
0 answers
89 views

How to install Docker and Postgres on AL2023

What I want to do: Install Docker and use a Postgres image to create a database to use with a Nest.js tut What i have tried: I have installed docker using: yum install docker Which yields when I do ...
Antonio Pavicevac-Ortiz's user avatar
0 votes
1 answer
203 views

Binary path in pgadmin

I am running pgadmin via Docker desktop. I am unable to restore a sql file in the database. I get the following message - "Please configure the PostgreSQL Binary Path in the Preferences dialog.&...
Rambo John's user avatar
1 vote
0 answers
343 views

Connection timeout from host MongoDB compass to docker mongo replication

docker-compose file: version: '3.8' services: mongodb-primary: image: mongo:latest hostname: mongodb-primary container_name: mongodb-primary ports: - "27018:27017" ...
Alireza's user avatar
  • 3,636
0 votes
0 answers
270 views

PostGIS in docker file FATAL no pg_hba.conf entry for host

I have a docker-compose.yml file with two image (Postgres extended PostGIS and pgadmin4): version: "3.8" services: postgis: image: postgis/postgis:15-3.3 container_name: ...
Gianni Spear's user avatar
1 vote
0 answers
89 views

Connecting to SQL in docker in EC2 becoming slower

I am now running a PostgreSQL inside a Docker inside a EC2, and a Node.js instance is connecting to it. I recently found that the connection is becoming slower. Before, restarting the instance only ...
Terry Windwalker's user avatar
0 votes
1 answer
124 views

How to restore a SQL Server bak file (Enabled FileStream ) to Docker version SQL Server?

I have SQL Server 2014 installed on Windows and enabled the FileStream feature. I backed up the database to a .bak file. Now I want to restore the file to my Docker container of SQL Server 2019. ...
XBruce's user avatar
  • 1
1 vote
0 answers
748 views

ORA-27046: file size is not a multiple of logical block size

I have oracle19c container, running by docker-compose: version: '3.7' services: oracle: image: container-registry.oracle.com/database/enterprise:19.3.0.0 container_name: oracle19c ports: ...
MiH's user avatar
  • 125
0 votes
1 answer
339 views

Oracle19c container cannot startup after turning on archive log

I'm running oracle19c container. This is the docker-compose file: version: '3.7' services: oracle: image: container-registry.oracle.com/database/enterprise:19.3.0.0 container_name: oracle19c ...
MiH's user avatar
  • 125
0 votes
0 answers
50 views

Advice about how to optimize DB setups when using Docker containers and Docker Compose

I have some general questions about how best to build and manage DB servers (Postgres and MySQL mostly) when using Docker builds with docker-compose.yml. In the past, I've sometimes bound the MySQL ...
SScotti's user avatar
  • 103
0 votes
0 answers
67 views

Docker instances with MySQL replication and reboot

After a reboot of the system with two docker instances with MySQL replication, the slaves always breaks the replication with a Slave_IO ending not running. Last time I had to redo all the process from ...
SirLouen's user avatar
0 votes
1 answer
137 views

What's the purpose of mysql@localhost (password unknown) created by the MariaDB docker image?

Set MARIADB_MYSQL_LOCALHOST_USER to a non-empty value to create the mysql@locahost database user. This user is especially useful for a variety of health checks and backup scripts. But the password is,...
gremo's user avatar
  • 145
2 votes
1 answer
163 views

How do I backup data of Cassandra nodes running in Docker?

I hope to receive some tips and assistance. I have three virtual machines running Ubuntu 22.04, and each one has Cassandra deployed via docker-compose, forming a cluster. My current task is to ...
Dmitriy's user avatar
  • 21
1 vote
1 answer
123 views

[[FATAL]] [[DBT-06103]] The port (5,500) is already in use in Docker Container

I'm trying to use Oracle 19c DB Container for my test cases in Jenkins Job but DB Container is intermittently failing with this error [FATAL] [DBT-06103] The port (5,500) is already in use. ACTION: ...
Vishwanath Joshi's user avatar
1 vote
1 answer
67 views

Why does my SQL Server Docker instance report a tiny amount of "space available"?

I have a SQL Server 2022 instance running in a Docker container on Linux. My understanding is that Docker containers can simply expand their disk usage to fill the entire volume space available. The ...
Jez's user avatar
  • 685
0 votes
1 answer
569 views

Can't log into Oracle 19c database running inside a container from the host

I have a server running Oracle 19c inside a Docker container, and I would like the ability to log into the database from the host using sqlplus. Inside the container, I am able to run this command ...
slightly_toasted's user avatar
0 votes
2 answers
4k views

How to fix MySQL using large amount of memory

I am running a MySQL database on my computer (in Docker) as part of a local development environment. Since this is far from a production instance, it is basically just using default settings and hasn'...
404 Not Found's user avatar
1 vote
1 answer
1k views

Can't get MariaDB docker to work without password

I want to add MariaDB to my docker compose file, like this: version: '3' services: mariadb: image: 'mariadb:10.3' ports: - "3306:3306" volumes: ...
7ochem's user avatar
  • 123
2 votes
1 answer
246 views

Is Apache Cassandra Quickstart broken?

I'm following the steps in the current (2023-03-13) Cassandra quickstart: STEP 1: GET CASSANDRA USING DOCKER docker pull cassandra:latest STEP 2: START CASSANDRA docker network create cassandra ...
Ricardo Dirani's user avatar
0 votes
1 answer
3k views

Using pgagent with docker?

I wanted to dive into the world of postgresql so I installed both postgresql and pgadmin using docker (with the portainer web ui) and I found out that for automatic jobs you gotta install pgagent too ...
Jose134's user avatar
  • 11
1 vote
0 answers
182 views

pgadmin 6.20 running in docker on ubuntu, problem with binaries path

I've spent some hours googling and messing around with this but can't figure it out. Running pgadmin 6.20 in docker on Ubuntu 22.04 VM. Postgres installed on same VM, but "bare metal" ...
mvern's user avatar
  • 11
0 votes
0 answers
112 views

Backup Maria DB data that is already down in docker but the data is persistent

MariaDB (running in Docker), whose storage is mounted on a drive of the host machine is currently down. I can navigate to the storage in Linux and can see the data. How do I back it up as the usual ...
firmphem's user avatar
0 votes
1 answer
170 views

SQLServer replication between windows and linux server

I'm trying to setup a replication between a SQLServer 2016 in a windows server and a SQLServer 2019 host in linux server. The linux instance run in a kubernetes setup and the docker image is simcube/...
user avatar
0 votes
0 answers
499 views

Postgresql stops logging in docker

I am using postgres 12.12 via the official docker image and it sometimes stops logging, seemingly randomly. I am trying to figure out what could be causing this. I'm running it on my development ...
Laurent S's user avatar
  • 101
1 vote
0 answers
604 views

After creating a table in postgres with psql, \dt gives "Did not find any relations"

I'm working with postgres14 in a docker container on a remote Rocky Linux VM. After a little bit of pain I managed to access the database from outside the container, at which point I wanted to create ...
skippynk's user avatar
2 votes
1 answer
476 views

Installing PostGIS SFCGAL 1.4 extension in the latest official PostGIS docker image (Debian bullseye based)

I do need to use the PostGIS SFCGAL extension in its latest version (i.e. 1.4.1 at the time of writing). This extension is based (and needs) the libsfcgal system library. Because the official PostGIS ...
s.k's user avatar
  • 362
0 votes
0 answers
287 views

MS SQL Edge running on Docker randomly quits within an hour of starting

I set up a new CentOS 7 VM (1GB of RAM, x86-64) and installed the latest version of Docker as instructed on the Docker website. After following the instructions on Microsoft's website to create an ...
meowbie's user avatar
-1 votes
2 answers
274 views

Is there a short script to safely perform a major-release upgrade on a postgreSQL docker container?

The question specifically focuses on the assumed required upgrade of the data structures when stepping up to the next or even latest major release. I know it usually involves dumping the data before ...
datenheim's user avatar
  • 123
2 votes
1 answer
234 views

Is there a short and proven linux shell command or script to safely perform a major-release upgrade on a mariadb docker container?

The question is basically in the title already. At first I thought about a one-liner but maybe a short script is fine as well. The command or script is meant to initiate all updating on the actual ...
datenheim's user avatar
  • 123
0 votes
1 answer
245 views

How can I create a sql dump from postgres that I can restore on a new server with no psql options?

I want to have an easy, repeatable process of upgrading a dockerized postgres database to a new version. Minor and patch versions are easy -- the container can simply be upgraded to the new version, ...
NReilingh's user avatar
  • 765
0 votes
0 answers
132 views

MySQL 8.0.31 replications fails when running in docker container?

Since a couple of days I'm trying (unsuccessfully) to start a replication between two MySQL 8.0.31 running each in a docker on a custom port. This always fails with (Original Post): Last_IO_Errno: ...
Lars's user avatar
  • 111
0 votes
2 answers
5k views

Repeating error message "password authentication failed for user "postgres"" for PostgreSQL in a simple container

I start PostgreSQL 14.4 in a simple container in an own network (no brigde mode): postgres: image: postgres:14.4 volumes: - /var/data_comm/postgresql:/var/lib/postgresql/data ...
pschuett's user avatar
0 votes
1 answer
3k views

SQLSTATE[HY000] [2002] Connection refused when trying to initiate connection via Dockerfile's CMD

I'm trying to run a Docker container based on: PHP 8.1 Apache 2.4 MariaDB (latest official docker image) Dockerfile: FROM php:8.1-apache WORKDIR /var/www/html/ RUN pecl install xdebug \ &&...
DevelJoe's user avatar
  • 163
0 votes
1 answer
242 views

Sql Server Management Studio does not have access to a .bak file on a remote server

I'm trying to restore a database backup that is on a server. This server is on a remote machine and runs in a docker container. The container OS is Ubuntu 20.04. I can access the database, make ...
Leonardo Silva's user avatar
0 votes
0 answers
631 views

Can't connect to Dockerized MariaDB ColumnStore database from host machine

I have setup a MariaDB ColumnStore Database as described in the MariaDB ColumnStore Quick Start guide. The guide is missing some steps so these are the exact steps I took: docker run -d -p 3306:3306 --...
Malvi Bid's user avatar
0 votes
0 answers
75 views

Is it possible to add some procedures and functions to a custom SQL Server docker file?

I have this Dockerfile to customize a SQL Server image for our developers: FROM mcr.microsoft.com/mssql/server:latest ENV PATH="${PATH}:/Company/Commands/DatabaseContainer" ENV ACCEPT_EULA=Y ...
Ali EXE's user avatar
  • 205
0 votes
0 answers
282 views

Cannot install MySQL 8 in the Ubuntu container

I would like to install Mysql in my Ubuntu container. The reason is my app inside the container needs mysql command to run mysql -u root -p -h "mysql server IP address". But I received this ...
ITnewbie's user avatar
  • 111

1
2 3 4 5