Added check for Docker & condition on sysctl task to not run if in Docker container.