slimtoolkit / slimtoolkit/slim
Container setup webpage fails to redirect during debloating
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.4k
- Forks
- 840
- PR merge metrics
- No merged PRs in 30d
Description
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
- Pull the mediawiki docker image
docker pull mediawiki
- start mediawiki in
docker-slim
docker-slim build --publish-port 8080:80 --http-probe=false --continue-after enter mediawiki
- Navigate to http://localhost:8080/
- select "Setup the wiki"
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the documented docker-slim build command, then compare the installer flow at http://localhost:8080/ with a normal MediaWiki container. Trace the language-selection redirect and identify what differs in the slimmed environment. Done means the setup reaches completion and initializes admin credentials under docker-slim.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100