Tag: redis

Error :Could not connect to Redis at redis:6379: Name or service not known

I am trying to execute the container named redis which is running right now.But the error Could not connect to Redis at redis:6379: Name or service not known. Any one please hell me to figure out the issue and fix it.

Docker-compose not attaching redis: redis does not start

I have an issue with my docker-compose configuration that I cannot pinpoint: redis won’t start. My docker-compose.yml: web: build: ./web links: – db – redis ports: – “8080:8080” db: image: mysql ports: – “3307:3306” environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: bignibou_dev redis: build: ./redis ports: – “63790:6379” My ./web/Dockerfile: FROM java:8 ADD ./bignibou-server-1.0.jar /app/bignibou-server-1.0.jar ADD ./spring-cloud.properties /app/spring-cloud.properties […]

Some docker containers don't start on system boot

I’m using docker restart policies on my containers (–restart=always) running on Ubuntu 14.04. Example containers: docker run -d –restart=always redis:2.8 docker run -d –restart=always postgres:9.4 When I reboot the machine the postgres container starts automatically but the redis container does not. Is this a problem with docker restart policies or am I missing something? Edit: […]

Docker SCRATCH container can't find files

I have a very simple dockerfile: FROM scratch MAINTAINER “aosmith” <a..h@…com> EXPOSE 6379 ADD redis-server /redis-server ENTRYPOINT [“/redis-server”] The docker file is in a folder with a statically compiled copy of redis-server. The build runs find but the container refuses to start: ➜ redis git:(master) ✗ docker run f16 no such file or directory Error […]

Redis Mass Insertion – Errors out

I’m trying to follow Redis Mass Insertion – Redis with Redis and something is amiss(. root@f7ca5eef4a4c:~# redis-cli –version redis-cli 3.0.6 root@f7ca5eef4a4c:~# redis-cli> flushall OK> root@f7ca5eef4a4c:~# for i in {0..10} ; do echo “SET Key$i Value$i” >> $$ ; done root@f7ca5eef4a4c:~# cat $$ | redis-cli –pipe All data transferred. Waiting for the last reply… […]

Redis Docker connection refused

I just built the redis docker instance $ docker pull redis After which I ran it like this. $ docker run –name=redis –detach=true –publish=6379:6379 redis I get the following $ docker ps key redis “/sbin/entrypoint.sh” 22 minutes ago Up 22 minutes>6379/tcp redis To me the above means that it is now running listening on […]

Docker container data lost on host restart

I have docker container with redis server running on ubuntu server that keep track of a counter that is incremented by a node js app also running in a container. It works well when i launch my ubuntu host all the containers redis + nodeapp are automatically started. Visiting an url, I am able to […]

Docker run start services

I need nginx-openresty and redis in single docker container. I have written docker file its working fine. But thing i need to start my redis service after login into the docker bash to automate this I have written .sh file which contains instrutions like start and stop of redis server and nginx. ENTRYPOINT [“./startup.sh”] and […]

Issues with Redis Cluster in Docker

I am running a Redis Cluster of 48 instances spread across 6 physical servers. These redis instances are running in docker containers. The cluster is designed as below: 1) 4 Docker containers for Redis Master are running on each of these 4 servers (M1, M2, M3, M4). 2) Each master has 2 slaves. So that […]

Docker-Compose error with Kanban and Redis

while i installed Kanban and Redis on my Server, which OS is CentOS 7, i get some issue, which i can’t make out. This is what i want to do: i want to have three docker containers -> gitlab -> redis -> kanban. When i’m starting this the container without docker-compose.yml it works perfectly. But […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.