docker-drupal icon indicating copy to clipboard operation
docker-drupal copied to clipboard

is it possible to attach the container to acces the modules directories?

Open skalad opened this issue 11 years ago • 2 comments

Hello, thanks for the image.

Im running my drupal int his container but by "docker attach containerid" i find no way to acces the directories of the container in order to purge some unisnatlled modules...

even with the container stopped I can not acces using "docker run -i -t ubuntu /bin/bash"

Is there any limitation with it?

Any idea to erase module direcotries as Drupan indicates to do for cleaning?

Note: a module without an uninstaller may leave tables or fields in your database. A module like this must be dealt with manually in order to completely remove it from your database, https://www.drupal.org/node/250783

Thanks, regards

skalad avatar Dec 20 '14 00:12 skalad

sorry... i just didnt try enought before asking.... I did it by runing the container froma the image witht he command /bin/bash doing whatever I have to do (modifiying rights or erasing modules) and then commiting it in a new image and run the new image with the command /start.sh

It works fine...

Is it correct?

Thanx for the image

regards

skalad avatar Dec 24 '14 00:12 skalad

Use vangrant & filecontainer to do such tasks persistently.

Fohlen avatar Dec 30 '14 11:12 Fohlen