8000 On first Install or if limits are incorrect give a shout out to increase swap and memory limits · Issue #226 · spryker/docker-sdk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
On first Install or if limits are incorrect give a shout out to increase swap and memory limits #226
Open
@ed42311

Description

@ed42311

What is the problem you are trying to solve by the feature?

On first install if you buzz past the setup you can get caught up in the build process with little direction if you haven't set the memory and swap limits correctly.

What is the solution do you propose?

add something to the boot output around here:

function Command::install() {
    local output=''
    if ! output=$(Registry::runInstallers); then
        Console::info 'Everything is properly installed. Nothing to do at the momemnt.' < also could fix this spelling error
        Console::info 'If this is your first time installing: did you set your swap limit to 2M?' << ? or something like that
        return "${TRUE}"
    fi
    ...

I don't know if Registry can detect first install and run, but you could log only on that, or more helpfully if you could detect the memory limits in docker and swap limits, then you could run the checker on that? either way...

If the system needs it then the system user should be aware of it

Metadata

Metadata

Assignees

No one assigned

    Labels

    verbosityImprovements or additions to the output of docker/sdk

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0