is there any issues with setting up airbyte inside...
# ask-ai
m
is there any issues with setting up airbyte inside a docker container? as in running run-ab-platform.sh in a container?
k
Yes, there are several issues that have been reported when setting up Airbyte inside a Docker container using the
run-ab-platform.sh
script. Here are some of the key issues: 1. Windows Compatibility: - The
run-ab-platform.sh
script has issues with Windows due to line ending sequences (
\r
). This can be resolved by converting the line endings using a tool like
dos2unix
or by running Airbyte directly with
docker compose up
([source](https://github.com/airbytehq/airbyte/issues/35617)). 2. Docker Compose Version: - There was an issue where the script improperly referenced
docker compose
instead of
docker-compose
, causing the installation to fail. This was fixed by changing the command to
docker-compose version
([source](https://github.com/airbytehq/airbyte/issues/27296)). 3. File Permissions on Mac M1: - When using
./run-ab-platform.sh
on Mac M1 with Colima, there were file permission issues that caused the
airbyte-temporal
container to fail. This was resolved by changing the file permissions using
chown -R 777 temporal
([source](https://github.com/airbytehq/airbyte/issues/24844)). 4. Log4j2Appender Error: - On Windows, there was an error related to
Log4j2Appender
and missing
airbyte.yml
file, causing a loop in
airbyte-cron
and
airbyte-worker
([source](https://github.com/airbytehq/airbyte/issues/29650)). 5. Exec Format Error: - On CentOS 7, there was an
exec format error
when running the script, which might be related to the environment or Docker setup ([source](https://github.com/airbytehq/airbyte/issues/25129)). 6. File Sharing Configuration: - For Docker Desktop, it is important to configure file sharing for
/tmp
and the current working directory where the Airbyte repo is stored ([source](https://github.com/airbytehq/airbyte/issues/33845)). ### Recommendations - Windows Users: Convert line endings using
dos2unix
or run Airbyte with
docker compose up
. - Ensure Correct Docker Compose Version: Make sure the script uses
docker-compose version
if you encounter issues. - File Permissions: Adjust file permissions if you encounter permission errors, especially on Mac M1. - File Sharing Configuration: Configure Docker Desktop to allow file sharing for necessary directories. For detailed setup instructions, you can refer to the [official documentation](https://docs.airbyte.com/deploying-airbyte/docker-compose). If you encounter any issues, you can report them on the [Airbyte GitHub issues page](https://github.com/airbytehq/airbyte/issues).