Pragmatic Programmer

Apr
28
comment Insert complete lines with Emacs + Evil
I add the same kind of problem and I was because of a custom copy-paste function in my emacs init file.
Nov
25
awarded Supporter
Nov
25
awarded Autobiographer
Oct
22
answered How to have two JARs start automatically on "docker run container"
Oct
22
answered Commands in Docker ENTRYPOINT
Oct
14
comment Trouble mounting a folder from host onto my docker image
what about user permissions? Maybe the user in your image has not enough right to see files in this shared folder.
Oct
14
answered Iterate through an array to create rails objects
Oct
14
comment What to do with pid files in a docker container
Maybe you should look why you have pid files left behind. That's not normal :(
Oct
14
comment Mapping Piwigo on Docker to the Host machine's LAN address
Yes with docker logs container_id. You can get the container id with docker ps -a
Oct
13
comment New to Docker - how to essentially make a cloneable setup?
This is a probably what you want: docs.docker.com/reference/builder/#add @ffxsam
Oct
13
answered Mapping Piwigo on Docker to the Host machine's LAN address
Oct
13
comment docker-compose not setting environment variables
@Neil edit the command to see all your env variables with another entrypoint. docker-compose run --entrypoint "/bin/bash" redis -c env
Oct
13
revised docker-compose not setting environment variables
added 15 characters in body
Oct
13
revised docker-compose not setting environment variables
deleted 110 characters in body
Oct
13
comment docker-compose not setting environment variables
Let us continue this discussion in chat.
Oct
13
comment docker-compose not setting environment variables
And when the build phase is complete, you have an image not a container so there is nothing to show, nothing is running. To interact with your image you have to start a container based on this image
Oct
13
comment docker-compose not setting environment variables
docker-compose sets those env variables in the containers your start using docker-compose commands. So they persist and are available. I am just showing you how to view them here.
Oct
13
comment docker-compose not setting environment variables
I edited my answer to reflect the change
Oct
13
revised docker-compose not setting environment variables
added 13 characters in body
Oct
13
comment docker-compose not setting environment variables
Ah ok sorry I did not see you changed the entrypoint. In your case do docker-compose run redis /bin/bash -c env @Neil
1 2 3 4 5