在Docker容器中看不到文件更改

时间:2019-07-11 07:32:25

标签: docker

在我的Docker容器中,我有一个文件夹“数据”:

  

/ usr / local / data

在同一容器中运行着一个脚本,该脚本成功更改了数据内容。但是,当我登录到容器时,它仅显示原始内容:

Array
(
    [x_response_code] => 1
    [x_response_reason_code] => 1
    [x_response_reason_text] => (TESTMODE) This transaction has been approved.
    [x_avs_code] => P
    [x_auth_code] => 000000
    [x_trans_id] => 0
    [x_method] => CC
    [x_card_type] => MasterCard
    [x_account_number] => XXXX5100
    [x_first_name] => Vikk
    [x_last_name] => kkk
    [x_company] => kkk
    [x_address] => kkk
    [x_city] => kkk
    [x_state] => kkk
    [x_zip] => 98979
    [x_country] => nn
    [x_phone] => 
    [x_fax] => 
    [x_email] => 
    [x_invoice_num] => 
    [x_description] => description givne
    [x_type] => auth_capture
    [x_cust_id] => 
    [x_ship_to_first_name] => 
    [x_ship_to_last_name] => 
    [x_ship_to_company] => 
    [x_ship_to_address] => 
    [x_ship_to_city] => 
    [x_ship_to_state] => 
    [x_ship_to_zip] => 
    [x_ship_to_country] => 
    [x_amount] => 5.69
    [x_tax] => 0.00
    [x_duty] => 0.00
    [x_freight] => 0.00
    [x_tax_exempt] => FALSE
    [x_po_num] => 
    [x_MD5_Hash] => 
    [x_SHA2_Hash] => C0E2B949E5C80F5634380CF8DB8CE3EDD5EF5DF1AB1BB819F1120142F92C7B7684EE775502E410538F8A005CFF4249090F18A38B43A7D4859AFBA0009A6A5A29
    [x_cvv2_resp_code] => 
    [x_cavv_response] => 
    [x_test_request] => true
    [payment_mode] => dpm
    [x_current_url] => www.websiteurl.com
    [x_final_url] => www.websiteurl.com
   )

=>仅显示原始内容

我在做什么错?有什么可以阻止“ docker exec”刷新文件夹内容的吗?还是我以某种方式附加到容器的临时状态?

0 个答案:

没有答案