slim icon indicating copy to clipboard operation
slim copied to clipboard

Container setup webpage fails to redirect during debloating

Open Scronkfinkle opened this issue 4 years ago • 1 comments

I'm currently building a slimmed mediawiki image, and would like to run the initial setup within docker-slim so that it can access all the critical paths effectively, however for some reason, it is unable to handle the redirects from the installer.

Expected Behavior

The installer for mediawiki runs as it normally would, and leaves me with a container that is initialized with admin credentials.


Actual Behavior

The mediawiki gets stuck at the language selection, and is unable to proceed.


Steps to Reproduce the Problem

  1. Pull the mediawiki docker image
docker pull mediawiki
  1. start mediawiki in docker-slim
docker-slim build --publish-port 8080:80 --http-probe=false --continue-after enter mediawiki
  1. Navigate to http://localhost:8080/
  2. select "Setup the wiki"
  3. Choose a language, and click "continue"

Ath this point, the container should fail to redirect to the next step. running outside of docker-slim, this works without issue, and seems to be specific to slim's environment


Specifications

  • Version: docker-slim version linux|Transformer|1.37.0|70cc8acfcb733161ce7e685b81ad6c172643c222|2021-09-23_09:23:43AM

  • Platform: Linux

Scronkfinkle avatar Oct 06 '21 16:10 Scronkfinkle

thank you for opening the issue @Scronkfinkle and thank you for the repro steps! need to do a bit of research with this one

kcq avatar Oct 07 '21 20:10 kcq