If you have a container that won't keep running, but you want to start it for experimentation or modification, you can always overwrite the entrypoint config like this:
docker run -it --entrypoint sh <docker-image>
Once you have the container shell open, you can make your modifications and then start the process that the container would have normally started, e.g. Airflow.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…