我正在尝试按照 docker https://docs.docker.com/cloud/aci-integration/上的文档将 docker 镜像从 docker hub 拉到 azure 。
当我输入命令时:
docker login azure
Run Code Online (Sandbox Code Playgroud)
我收到错误:
Error response from daemon: Get https://azure/v2/: dial tcp: lookup azure: no such host
Run Code Online (Sandbox Code Playgroud)
我不支持任何 VPN 或代理。我尝试了其他线程中提到的一些解决方案,例如在我的 resolv.conf 中添加 8.8.8.8 和 8.8.8.4 并重新启动 docker 守护进程。但这些解决方案并没有奏效。
我正在尝试将现有的 gcp 计算实例导入到terraform import命令将现有的 gcp 计算实例导入到其中。\n但是我遇到了此错误,该错误表明在使用导入命令时资源不存在:
terraform import google_compute_instance.tf-instance-2 my_project_id\n\nRun Code Online (Sandbox Code Playgroud)\ngoogle_compute_instance.tf-instance-2: Import prepared!\n Prepared google_compute_instance for import\ngoogle_compute_instance.tf-instance-2: Refreshing state... [id=projects/qwiklabs-gcp-02-67a8ccc33dba/zones/us-central1-a/instances/qwiklabs-gcp-02-67a8ccc33dba]\n\xe2\x95\xb7\n\xe2\x94\x82 Error: Cannot import non-existent remote object\n\xe2\x94\x82\n\xe2\x94\x82 While attempting to import an existing object to "google_compute_instance.tf-instance-2", the provider detected that no object exists with the given id. Only pre-existing objects can be imported; check that the id is correct and that it is\n\xe2\x94\x82 associated with the provider's configured region or endpoint, or use "terraform apply" to create …Run Code Online (Sandbox Code Playgroud) 我正在尝试将 ogg 音频文件转换为 mp3 或其他可以在 ios 设备中播放的音频文件格式,但 ogg 文件没有被转换为其他格式,如 mp3 和 caf。我正在 Android 设备中测试转换。
这是我的 ffmpeg 命令参数:
Command: "ffmpeg -y -i $inputFilePath -c:a copy $outputFilePath"
Both input and output filenames were surrounded with quotations
[-y, -i, /data/user/0/com.musicapp/files/composer_audios/testtt ogg file.ogg, -c:a, copy, /storage/emulated/0/Android/data/com.musicapp/files/ball.mp3]
Run Code Online (Sandbox Code Playgroud)
当我尝试转换为 mp3 时。抛出此错误:
FFmpeg exited with rc: 1
[mp3 @ 0x73f7b36a00] Invalid audio stream. Exactly one MP3 audio stream is required.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Run Code Online (Sandbox Code Playgroud)
当我尝试转换为 .caf 文件时,会抛出此错误: …