Properly editing docker contents? How? #802
Replies: 1 comment
|
@ANK1036Official Most of the honeypot containers are intentionally started with a read-only root filesystem and managed entirely through Docker Compose. This improves security and ensures the containers remain reproducible. Simply changing the container at runtime (or trying to remount it read-write) is generally not the intended workflow. :contentReference[oaicite:0]{index=0} If you want to modify Dionaea's code (or any other honeypot), the recommended approach is:
For example: services:
dionaea:
image: my-dionaea:latestor, if you want Docker to build it locally: services:
dionaea:
build:
context: ./docker/dionaeaT-Pot already supports customizing its Docker Compose stack, and the documentation recommends managing changes through Compose rather than editing running containers. This also means your modifications survive restarts and upgrades much better than changes made with If you're only trying to tweak configuration (rather than the application code), first check whether the container already exposes configuration files through bind-mounted volumes. Those are intended to be edited on the host and will persist across container recreation. One question that would help suggest the cleanest solution:
If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Sorry if this is a newbie question, but how exactly would I be able to modify the contents of the docker containers running in order to obfuscate dionaea for example by modifying the code?
I've tried to access via the docker exec command, but the filesystem is read only, and changing the config to not be read only didn't seem to work.
Thanks.
All reactions