diff --git a/README.rst b/README.rst index ba2c45919..58195d5f7 100644 --- a/README.rst +++ b/README.rst @@ -193,16 +193,16 @@ and ``--tmp-outdir-prefix`` to somewhere under ``/Users``:: Docker default platform on macOS with Apple Silicon =================================================== -If macOS cwltool users want to run tools/workflows that reference software containers that only support amd64 (64-bit x86), but they have an Apple Silicon (aarch64/arm64) CPU, +If macOS users want to run CWL tools/workflows using ``cwltool`` with Docker and their software containers only have support for amd64 (64-bit x86) CPUs, but they have an Apple Silicon (aarch64/arm64) CPU, they run into the error: -``WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested``. + WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested. -To circumvent this, export the following environment variable before executing the `cwltool`: +To fix this, export the following environment variable before executing `cwltool`: ``export DOCKER_DEFAULT_PLATFORM=linux/amd64`` -To automatically enable this variable in new shells, this can be added to the respective shell profiles (e.g. ``~/.zshrc``, ``~/.bash_profile``). +To automically have this variable set in the future, add the same command to ones respective shell profile (e.g. ``~/.zshrc``, ``~/.bash_profile``). Using uDocker