Cli/FAQ
Appearance
< Cli
Your kernel does not support cgroup memory limit
[edit]If you get an error something like this
Apr 27 17:10:44 C220 dockerd[349398]: time="2022-04-27T17:10:44.811901331+02:00" level=warning msg="Your kernel does not support cgroup memory limit" Apr 27 17:10:44 C220 dockerd[349398]: time="2022-04-27T17:10:44.811956581+02:00" level=warning msg="Unable to find cpu cgroup in mounts" Apr 27 17:10:44 C220 dockerd[349398]: time="2022-04-27T17:10:44.811967566+02:00" level=warning msg="Unable to find blkio cgroup in mounts" Apr 27 17:10:44 C220 dockerd[349398]: time="2022-04-27T17:10:44.811976536+02:00" level=warning msg="Unable to find cpuset cgroup in mounts" Apr 27 17:10:44 C220 dockerd[349398]: time="2022-04-27T17:10:44.812042846+02:00" level=warning msg="mountpoint for pids not found"
Then please update your installed docker version
How can I start a fresh docker environment?
[edit]To completely start fresh and change the directory that mwcli expects your mediawiki checkout to be in you need to clear the environment. Run:
$ mw docker env clear
Until you do this, other commands that would normally prompt you to choose where to check out mediawiki will assume you're already part-way into the setup process and just direct you to get-code.
You can be more precise and just delete the MEDIAWIKI_VOLUMES_CODE var if you prefer.