## 事象 以下のような[[bitbucket-pipelines.yml]]を作って実行する。 ```yaml image: ubuntu:22.04 pipelines: default: - step: name: Localstack test size: 2x services: - docker script: - apt update -y - apt install -y zip curl git - curl https://mise.jdx.dev/install.sh | sh - export PATH=$PATH:$HOME/.local/bin:$HOME/.local/share/mise/shims # awscli-localのインストール - mise use --global awscli - apt install -y python3-pip - pip install awscli-local - aws configure set region ap-northeast-1 - aws configure set aws_access_key_id hoge - aws configure set aws_secret_access_key hoge # Localstackのインストール - curl -Lo localstack-cli.tar.gz https://github.com/localstack/localstack-cli/releases/download/v3.1.0/localstack-cli-3.1.0-linux-amd64-onefile.tar.gz - tar xvzf localstack-cli.tar.gz -C /usr/local/bin - localstack --version - LS_LOG=debug localstack start -d ``` 以下のように起動失敗する。 ```error 2024-01-31T07:38:40.697 DEBUG --- [ MainThread] localstack.utils.run : Executing command: ['docker', 'ps'] 2024-01-31T07:38:40.719 DEBUG --- [ MainThread] localstack.utils.run : Executing command: ['docker', 'ps', '--format', '{{json . }}'] configuring container bootstrap.py:1248 2024-01-31T07:38:40.775 DEBUG --- [ MainThread] localstack.utils.run : Executing command: ['docker', 'inspect', '--format', '{{json .}}', 'localstack/localstack'] ❌ Error: Docker process returned with errorcode 1 ``` ## 調査 ## 原因 ## 解決方法 ## 参考 - マークダウンリンク