所以,我有一个docker-compose文件,每个服务中都有一个build命令。在开发中,docker-compose up工作正常。在测试环境中,我想通过docker-compose pull和docker-compose生成映像,并且工作正常,除了需要在测试服务器中创建的build命令中的文件夹。
真的有必要吗,还是有一种方法可以在不在测试服务器中创建构建文件夹的情况下拉起和提升容器?
答案 0 :(得分:0)
有>>> job_history_df.show(20, False)
+----------+--------+---------------------+---------------+---------+--------------------+------------------+
|jhr_status|ajb_name|jhr_run_date |jhr_run_date_ts|was_abend|n_abends_next_n_runs|abends_last_5_runs|
+----------+--------+---------------------+---------------+---------+--------------------+------------------+
|S |Y |2018-01-08 19:00:12.0|1515459612000 |0 |null |null |
|S |Y |2018-01-09 19:00:22.0|1515546022000 |0 |null |0 |
|A |Y |2018-01-10 19:00:21.0|1515632421000 |1 |null |0 |
|S |Y |2018-01-10 19:00:23.0|1515632423000 |0 |null |1 |
|A |X |2018-01-02 19:00:13.0|1514941213000 |1 |null |null |
|A |X |2018-01-03 19:00:09.0|1515027609000 |1 |null |1 |
|S |X |2018-01-04 19:00:24.0|1515114024000 |0 |null |2 |
|S |X |2018-01-05 19:00:21.0|1515200421000 |0 |null |2 |
|S |X |2018-01-06 19:00:33.0|1515286833000 |0 |null |2 |
+----------+--------+---------------------+---------------+---------+--------------------+------------------+