Docker container for infant FreeSurfer using Neurodocker and fs version 7.4.1

Hi everyone,

I’m attempting to create a Docker container for infant FreeSurfer using FreeSurfer 7.4.1 and Neurodocker. I’m using the following command:

#!/bin/bash
docker run pwighton/neurodocker:latest generate docker \
    --base-image ubuntu:xenial \
    --pkg-manager apt \
    --yes \
    --niftyreg \
      version=master \
    --fsl \
      version=5.0.10 \
      method=binaries \
    --freesurfer \
      method=source \
      repo=https://github.com/freesurfer/freesurfer.git \
      branch=fs-7.4.1 \
      infant_module=ON \
      dev_tools=ON \
      infant_model_s3=s3://freesurfer-annex/infant/model/dev/ \
      infant_model_s3_region=us-east-2 \
    --entrypoint '/bin/infant-container-entrypoint-aws.bash' \
    | docker build --no-cache -t mydockerusername/infant-fs-7.4.1 -

However, I’m encountering the following error:

ERROR: failed to solve: process "/bin/sh -c apt-get update -qq ...

Has anyone experienced a similar issue or can provide guidance on how to resolve this?

Thanks in advance for your help!