dockware
  • dockware doc's
  • News
  • Setup
    • Docker Setup
    • What Image should you use?
    • Performance Tweaks
  • Use Dockware
    • First Run
    • Update Dockware
    • Advanced Run
    • Default Credentials
    • Symfony or Shopware 5
    • Changelog
  • Features
    • Intro
    • Environment Variables
    • Adminer
    • Mailcatcher
    • Switch PHP Version
    • Switch Node Version
    • Tideways Profiling
    • Pimp my Log
    • Filebeat
    • SSH Users
    • MySQL Users
    • Shopware Currency
  • Development
    • Intro
    • Start Developing
    • Switch Branches
    • Debugging
    • Watchers
    • App Development
    • Update Shopware
    • Dockware Essentials
    • Custom Domains
    • Custom Images
    • Code Coverage
    • CLI Build Shopware 6 Plugin
    • Multi-Environment Setups
  • Contribute
    • Intro
    • Setup Github Version
    • Create Feature
    • Code Styles
    • Testing
    • Create Pull Requests
  • CI/CD
    • Github
    • Gitlab
    • Bitbucket
    • Buddy
  • Tips & Tricks
    • Create a new Project
    • Bind-Mounting
    • Persisting Data
    • Housekeeping
    • Online Servers
    • Performance on Mac
    • Security
  • FAQ
    • Sequel Pro
    • Dockware and other images
    • Scripts (PSH?)
    • Redis
    • Error Port not available
    • MySQL failed
    • Elasticsearch
    • Windows Problems
    • Chrome Problems
    • Import MySQL Dump
    • Shopware 5 Support
    • Use Https/SSL
    • Container hangs in Pipeline
    • Disable the admin worker
  • Additional Links
    • Imprint
    • Founders
    • Dockware website
    • Dockware in Shopware Slack
Powered by GitBook
On this page
  • Resources
  • Resource File Sharing
  • Storage Driver

Was this helpful?

  1. Setup

Performance Tweaks

PreviousWhat Image should you use?NextFirst Run

Last updated 4 years ago

Was this helpful?

To improve the performance of your overall docker system, you might want to tweak a few things. We do this by opening our docker preferences on our host machine.

Please note, these are no must-haves, but still help give you a better overall experience of your docker system.

Linux based users need to configure it using the bash, if even needed for their systems.

Resources

We start by configuring the amount of CPUs and Memory Docker will get from your host system. This obviously depends on your system and its resources.

When changing these numbers, please keep in mind that the more resources you give Docker, the less your host system has.

We had the best experience by using half of the CPUs (3-4) and about 6-8 GBM RAM for Docker.

Resource File Sharing

This section tells Docker what folders are ready to be used with bind-mounting. As you might see after installing Docker, the whole system is available.

That means, when docker starts, it will prepare the whole system to be used for bind-mounting, which is of course an overload that can be reduced.

We recommend only adding your projects root folder and for some special use cases your ~/.ssh folder.

Storage Driver

Docker works with different storage drivers. The fastest one at the moment is "overlay-2".

To enable this as global storage driver, just add the following entry to your Docker Engine settings.

"storage-driver" : "overlay2"

dockware ressources - cpu and ram options
dockware ressources - file sharing options
dockware resources - storage driver