Skip to content

VOLUME declaration can result in difficult to diagnose misbehavior #410

Closed as not planned
@HoloRin

Description

@HoloRin

By declaring the VOLUME $RABBITMQ_DATA_DIR in the base Dockerfile, (i.e.

VOLUME $RABBITMQ_DATA_DIR
), it ensures that changes to that directory in subsequent Dockerfiles are ignored. This can cause very confusing behavior if, for instance, a user wants to add a specific erlang cookie in a new Dockerfile that inherits from this one. Additionally, if the behavior of rabbitmq-plugins were to change such that relies on modifying the data dir, the management Dockerfile would at least partially break.

Metadata

Metadata

Assignees

Labels

RequestRequest for image modification or feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions