slimtoolkit / slimtoolkit/slim

Container setup webpage fails to redirect during debloating

Open
#228 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
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

  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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.