You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/22 07:50:52 UTC
[GitHub] [airflow] algoexpert12 opened a new issue, #23163: Airflow Production image not working but dev Image is working
algoexpert12 opened a new issue, #23163:
URL: https://github.com/apache/airflow/issues/23163
### Apache Airflow version
2.2.3
### What happened
The production image when built then a container stopped a second after starting from docker desktop.
### What you think should happen instead
Production image should work.
### How to reproduce
./breeze build-image --python 3.8 --production-image --install-airflow-version 2.2.3
### Operating System
windows 11
### Versions of Apache Airflow Providers
2.2.3
### Deployment
Other
### Deployment details
I am deploying using BREEZE.
### Anything else
I am making my custom airflow image and the development image is built successfully and running.
but the **production image successfully built but not running.**
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] algoexpert12 commented on issue #23163: Airflow Production image not working but dev Image is working
Posted by GitBox <gi...@apache.org>.
algoexpert12 commented on issue #23163:
URL: https://github.com/apache/airflow/issues/23163#issuecomment-1106122879
airflow command error: the following arguments are required: GROUP_OR_COMMAND, see help above.
usage: airflow
[-h]
GROUP_OR_COMMAND
...
positional arguments:
GROUP_OR_COMMAND
Groups:
celery
Celery
components
config
View config
uration
connections
Manage
connections
dags
Manage DAGs
db
Database
operations
jobs
Manage jobs
kubernetes
Tools to
help run
the Kuberne
tesExecutor
pools
Manage
pools
providers
Display
providers
roles
Manage
roles
tasks
Manage
tasks
users
Manage
users
variables
Manage
variables
Commands:
cheat-sheet
Display
cheat sheet
info
Show
information
about
current
Airflow and
environment
kerberos
Start a
kerberos
ticket
renewer
plugins
Dump
information
about
loaded
plugins
rotate-fernet-key
Rotate
encrypted
connection
credentials
and
variables
scheduler
Start a
scheduler
instance
standalone
Run an all-
in-one copy
of Airflow
sync-perm
Update
permissions
for
existing
roles and
optionally
DAGs
triggerer
Start a
triggerer
instance
version
Show the
version
webserver
Start a
Airflow
webserver
instance
optional arguments:
-h, --help
show this
help
message and
exit
airflow command error: the following arguments are required: GROUP_OR_COMMAND, see help above.
airflow command error: the following arguments are required: GROUP_OR_COMMAND, see help above.
usage: airflow
[-h]
GROUP_OR_COMMAND
...
positional arguments:
GROUP_OR_COMMAND
Groups:
celery
Celery
components
config
View config
uration
connections
Manage
connections
dags
Manage DAGs
db
Database
operations
jobs
Manage jobs
kubernetes
Tools to
help run
the Kuberne
tesExecutor
pools
Manage
pools
providers
Display
providers
roles
Manage
roles
tasks
Manage
tasks
users
Manage
users
variables
Manage
variables
Commands:
cheat-sheet
Display
cheat sheet
info
Show
information
about
current
Airflow and
environment
kerberos
Start a
kerberos
ticket
renewer
plugins
Dump
information
about
loaded
plugins
rotate-fernet-key
Rotate
encrypted
connection
credentials
and
variables
scheduler
Start a
scheduler
instance
standalone
Run an all-
in-one copy
of Airflow
sync-perm
Update
permissions
for
existing
roles and
optionally
DAGs
triggerer
Start a
triggerer
instance
version
Show the
version
webserver
Start a
Airflow
webserver
instance
optional arguments:
-h, --help
show this
help
message and
exit
airflow command error: the following arguments are required: GROUP_OR_COMMAND, see help above.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #23163: Airflow Production image not working but dev Image is working
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #23163:
URL: https://github.com/apache/airflow/issues/23163#issuecomment-1106122299
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #23163: Airflow Production image not working but dev Image is working
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #23163: Airflow Production image not working but dev Image is working
URL: https://github.com/apache/airflow/issues/23163
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #23163: Airflow Production image not working but dev Image is working
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #23163:
URL: https://github.com/apache/airflow/issues/23163#issuecomment-1106231897
You are using it wrong.
Production image by default runs airflow command (for example you can do `docker run apache/airflow webserver`) and it . So if you do not specify a command it will just ask you to provide one. This is what expected. There are special commands `bash` and `python` that you can use to run python code or drop into bash if you want.
All details are described here: https://airflow.apache.org/docs/docker-stack/entrypoint.html#executing-commands
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org