mik-laj commented on issue #8605:
URL: https://github.com/apache/airflow/issues/8605#issuecomment-747064480


   @BasPH  shared one-line command to start Docker image on Slack:
   
   > In case you’ve ever wondered how to get the Airflow image to work in a 
one-liner (for demo purposes), here’s how:
   > ```
   > docker run -ti -p 8080:8080 -v yourdag.py:/opt/airflow/dags/yourdag.py 
--entrypoint=/bin/bash apache/airflow:2.0.0b3-python3.8 -c '(airflow db init && 
airflow users create --username admin --password admin --firstname Anonymous 
--lastname Admin --role Admin --email [email protected]); airflow webserver & 
airflow scheduler'
   > ```
   > Creates a user `admin`/`admin` and runs a SQLite metastore in the container
   
   https://apache-airflow.slack.com/archives/CQAMHKWSJ/p1608152276070500
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to