You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Colima Version:0.5.5
Lima Version:0.16.0
Qemu Version: 8.0.3
Operating System
macOS Intel <= 12 (Monterrey)
macOS Intel >= 13 (Ventura)
macOS M1 <= 12 (Monterrey)
macOS M1 >= 13 (Ventura)
Linux
Output of colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: 9p
INFO[0000] socket: unix:///Users/ea/.colima/default/docker.sock
Reproduction Steps
1.docker-compose -f mysql-compose.yaml up -d
2.docker logs -f mysql
然后就看到以下信息,不过在此之前我不挂载路径直接启动并将容器中的部分信息拷贝出来了,并在下一次创建容器的时候挂载上去,这在docker里是允许的。但是使用colima后挂载不了。
2023-08-03 11:53:19+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.1.0-1.el8 started.
chown: changing ownership of '/var/lib/mysql-files': Operation not permitted
chown: changing ownership of '/var/lib/mysql/': Operation not permitted
chown: changing ownership of '/var/lib/mysql/private_key.pem': Operation not permitted
chown: changing ownership of '/var/lib/mysql/ca-key.pem': Operation not permitted
chown: changing ownership of '/var/lib/mysql/ibdata1': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_9.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_8.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_10.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_3.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_2.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_1.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_5.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_4.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_6.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_7.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/binlog.000125': Operation not permitted
chown: changing ownership of '/var/lib/mysql/.DS_Store': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/profile_task_log.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_pod_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_oap_instance_metrics_persistent_cache.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_node_status.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/process_traffic.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_seq_page_cost.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_clr_gen1_collect_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_server_side.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_page_load_page_avg.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_write_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_read_resp_time.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds_lds_reject.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_pv.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_checkpoint_sync_time_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_label.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_net_rx_dropped.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_win_memory_swap_percentage.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_win_memory_swap_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_instance_threads_running.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_updated_rows_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_write_throttled_requests.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_instance_shared_dict_capacity_bytes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_cpu_cores_limits.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_fs_utilization.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_account_max_table_level_writes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_vm_memory_swap_free.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_read_throttle_events.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_connects_aborted.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/satellite_service_grpc_connect_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_oap_instance_trace_analysis_error_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_put_successful_request_latency.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_server_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_cache_hit_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_query_successful_request_latency.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_jvm_thread_timed_waiting_state_thread_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_sv_http_connections.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/zipkin_service_relation_traffic.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_slow_queries_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_threads_created.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_conflict_ol_tcp_tcp.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_jvm_thread_live_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_write_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_sr_cluster_lb_healthy_panic_incr.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_commands_insert_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_memory_limits.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_buffers_backend.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds_pushes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_cpu_cores.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/segment_tag.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_page_fpt_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_rolled_back_transactions_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_instance_http_latency_matched.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_buffers_backend_fsync.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_apdex.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_memory_physical_size_max.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_net_rx_bytes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_pod_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_client_call_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_pod_status.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_sidecar_internal_resp_latency_nanos.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_query_returned_item_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_clr_gen0_collect_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_net_tx_dropped.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_relation_client_resp_time.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/zipkin_span.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_fetched_rows_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_page_error_sum.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_error_sum.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_cluster_up_cx_incr.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_instance_host_cpu_used_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_cluster_up_rq_incr.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_client_sidecar_internal_resp_latency_nanos.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_buffers_alloc.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_cpu_utilization.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_instance_commands_update_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_client_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_pod_number.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_conflicts_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_read_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_shared_buffers.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_resident_memory.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_buffers_checkpoint.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_cpu_usage.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_pod_status_not_running.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_account_provisioned_read_capacity_utilization.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_server_call_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_net_rx_error.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_error_log.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/mq_service_consume_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_committed_transactions_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_deployment_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_relation_client_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/mq_service_produce_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_work_mem.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_read_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_provisioned_read_capacity_units.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_endpoint_bandwidth.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_win_memory_swap_free.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_cpu_cores_limits.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_account_max_writes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds_rds_reject.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_server_sidecar_internal_resp_latency_nanos.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_pod_cpu_usage.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_storage_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_total_xds_internal_errors.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_scan_successful_request_latency.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_service_pod_cpu_utilization.ibd
I also encountered this problem. When I used the colima start --mount-type 9p command, and then started the docker container, there was still a permission issue.
I also encountered this problem. When I used the colima start --mount-type 9p command, and then started the docker container, there was still a permission issue.
Description
我使用的colima版本为0.5.5,当我把宿主机路径挂载上去,但是日志里给我反馈没有操作权限。当我在路径后加:rw甚至是使用--privileged为true也仍然没有权限操作。我的colima启动参数为colima start --arch x86_64 --cpu 4 --memory 8 --disk 100 --mount-type 9p
Version
Colima Version:0.5.5
Lima Version:0.16.0
Qemu Version: 8.0.3
Operating System
Output of
colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: 9p
INFO[0000] socket: unix:///Users/ea/.colima/default/docker.sock
Reproduction Steps
1.docker-compose -f mysql-compose.yaml up -d
2.docker logs -f mysql
然后就看到以下信息,不过在此之前我不挂载路径直接启动并将容器中的部分信息拷贝出来了,并在下一次创建容器的时候挂载上去,这在docker里是允许的。但是使用colima后挂载不了。
2023-08-03 11:53:19+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.1.0-1.el8 started.
chown: changing ownership of '/var/lib/mysql-files': Operation not permitted
chown: changing ownership of '/var/lib/mysql/': Operation not permitted
chown: changing ownership of '/var/lib/mysql/private_key.pem': Operation not permitted
chown: changing ownership of '/var/lib/mysql/ca-key.pem': Operation not permitted
chown: changing ownership of '/var/lib/mysql/ibdata1': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_9.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_8.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_10.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_3.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_2.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_1.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_5.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_4.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_6.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/#innodb_temp/temp_7.ibt': Operation not permitted
chown: changing ownership of '/var/lib/mysql/binlog.000125': Operation not permitted
chown: changing ownership of '/var/lib/mysql/.DS_Store': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/profile_task_log.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_pod_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_oap_instance_metrics_persistent_cache.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_node_status.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/process_traffic.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_seq_page_cost.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_clr_gen1_collect_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_server_side.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_page_load_page_avg.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_write_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_read_resp_time.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds_lds_reject.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_pv.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_checkpoint_sync_time_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_label.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_net_rx_dropped.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_win_memory_swap_percentage.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_win_memory_swap_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_instance_threads_running.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_updated_rows_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_write_throttled_requests.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_instance_shared_dict_capacity_bytes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_cpu_cores_limits.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_fs_utilization.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_account_max_table_level_writes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_vm_memory_swap_free.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_read_throttle_events.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_connects_aborted.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/satellite_service_grpc_connect_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_oap_instance_trace_analysis_error_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_put_successful_request_latency.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_server_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_cache_hit_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_query_successful_request_latency.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_jvm_thread_timed_waiting_state_thread_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_sv_http_connections.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/zipkin_service_relation_traffic.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_slow_queries_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_threads_created.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_conflict_ol_tcp_tcp.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_jvm_thread_live_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_write_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_sr_cluster_lb_healthy_panic_incr.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_commands_insert_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_memory_limits.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_buffers_backend.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds_pushes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_cpu_cores.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/segment_tag.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_page_fpt_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_rolled_back_transactions_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_instance_http_latency_matched.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_buffers_backend_fsync.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_apdex.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_memory_physical_size_max.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_net_rx_bytes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_pod_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_client_call_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_pod_status.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_sidecar_internal_resp_latency_nanos.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_query_returned_item_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_clr_gen0_collect_count.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_net_tx_dropped.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_relation_client_resp_time.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/zipkin_span.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_fetched_rows_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_page_error_sum.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_app_error_sum.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_cluster_up_cx_incr.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_instance_host_cpu_used_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/envoy_cluster_up_rq_incr.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_client_sidecar_internal_resp_latency_nanos.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_buffers_alloc.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_cpu_utilization.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_mysql_instance_commands_update_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_client_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_pod_number.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_conflicts_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_read_cpm.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_shared_buffers.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_resident_memory.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_buffers_checkpoint.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_node_cpu_usage.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_pod_status_not_running.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_account_provisioned_read_capacity_utilization.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_instance_relation_server_call_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_node_net_rx_error.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/browser_error_log.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/mq_service_consume_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_committed_transactions_rate.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_deployment_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/service_relation_client_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/mq_service_produce_sla.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_pg_instance_work_mem.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/cache_read_percentile.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_endpoint_provisioned_read_capacity_units.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_apisix_endpoint_bandwidth.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_win_memory_swap_free.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_cpu_cores_limits.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_account_max_writes.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_xds_rds_reject.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/instance_server_sidecar_internal_resp_latency_nanos.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_service_pod_cpu_usage.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/k8s_cluster_storage_total.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/meter_istio_pilot_total_xds_internal_errors.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/aws_dynamodb_scan_successful_request_latency.ibd': Operation not permitted
chown: changing ownership of '/var/lib/mysql/swtest/eks_cluster_service_pod_cpu_utilization.ibd
Expected behaviour
我的mysql容器正常启动并且在我连接数据库时也不会报没有操作权限
Additional context
以下是我的mysql容器配置信息。
version: v1
services:
mysql:
container_name: mysql
image: mysql:latest
platform: linux/arm64
hostname: mysql
privileged: true
volumes:
- ~/docker/mysql/mysql-files:/var/lib/mysql-files:rw
- ~/docker/mysql/conf:/etc/mysql:rw
- ~/docker/mysql/data:/var/lib/mysql:rw
- ~/docker/mysql/log:/var/log/mysql:rw
environment:
- MYSQL_ROOT_PASSWORD=root
- TZ=Asia/Shanghai
ports:
- '3306:3306'
healthcheck:
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
interval: 5s
timeout: 10s
retries: 10
The text was updated successfully, but these errors were encountered: