I tried setting it up in portainer first but later used the command # docker run -p 8080:8080 adminer No matter what I do it’s simply stuck on "Waiting for…". I’ve already tried using the host network and different ports but simply nothing will work. The only log in adminer is: [Mon Jun 29 18:38:16 ..
I’m working on using Django and Docker with MariaDB on Mac OS X. I’m trying to grant privileges to Django to set up a test db. For this, I have a script that executes this code, sudo docker exec -it $container mysql -u root -p. When I do this after spinning up, instead of the ..
I am quite newbie on Docker. I still stuck on something I don’t understand. I am on an average Windows 10, and I am using Docker Desktop for Windows 10. I followed steps by steps this tuto about how to stand a symfony application inside docker containers Thanks to this guy, he also providing a ..
me han mandado hacer un ejercicio en docker y no tengo ni idea de como se hace, me encuentro super perdida. Lo que se pide es lo siguiente: " Crear un fichero docker compose que lance dós bases de datos Maria DB gallera, en 3 entornos diferentes " " Dependiendo del entorno deberán ejecutarse en ..
I have a mariadb database within a docker container, and I want to use it to store the data of my nextcloud instance running natively on the same machine. I can access the database with the default docker ip, 172.18.0.2, but something in my mind tells me there has to be a better way. This ..
I have two docker containers being built using docker compose. One is a mariadb and the other is a web api made using python. When I startup the mariadb container then run the application from my desktop all works fine and dandy. However when I run both containers I get the error: pymysql.err.OperationalError: (2003, "Can’t ..
I have MariaDB running on docker. Bind address is commented out in the my.cnf file and everything appears set. I know what the IP address is and am currently trying to force the TCP connection (I am using this resource: https://mariadb.com/kb/en/installing-and-using-mariadb-via-docker/). I also have a java program in another docker container that is able to ..
I’m trying to create a docker build/compose where I can securely set the root password for my MariaDB server at build/runtime rather than having to do it manually in the shell through docker exec. I want to be a completely hands-off build. I have tried multiple ways of getting this to work, including BuildKit secrets, ..
I’ve setup a Docker-Compose file that creates a mariadb database and aspnet backend (both from docker files I’ve written). If I expose ports and run the containers outside of a compose (using localhost) or set network_mode: "host" in the docker-compose file then the app interacts as expected. However, using the default bridge network that the ..
I have two containers: python and mariadb. Since the domain name is the container name in docker i used host as <container_name>, but it fails to connect. The following is my docker-compose.yaml version: "3" services: db: container_name: mydb image: mariadb restart: always ports: – "3307:3306" environment: MYSQL_ROOT_PASSWORD: maria volumes: – ./sql_scripts:/scripts – hyacinth_db:/var/lib/mysql web: build: ..