英文:
Azure Webapp: Unable to install docker buildx in SSH
问题
我正在Azure上运行一个应用服务。我可以SSH进入Linux终端。
Linux版本:Debian 9.13(Debian GNU/Linux 9.13(stretch))
当运行:
apt-get install docker-buildx-plugin
我得到:
E: 无法定位软件包docker-buildx-plugin
我尝试过
RUN apt-get update
以及在这个Docker引擎安装指南中提到的所有步骤。
英文:
I'm running an App Service on Azure. I can SSH into the Linux terminal.
Linux version: Debian 9.13 (Debian GNU/Linux 9.13 (stretch))
When running:
apt-get install docker-buildx-plugin
I get:
E: Unable to locate package docker-buildx-plugin
I tried
RUN apt-get update
And all steps mentioned in this Install Docker Engine guide
答案1
得分: 2
I got the same error as you have shown when I run the command apt-get install docker-buildx-plugin
.
Thanks @tiborvass for the commands.
I have taken reference from the above document.
Run the below command.
curl -sSL https://get.docker.com/ | sh
This command will run the docker-buildx-plugin
.
- Now run
docker buildx version
to check the installed version.
- Now try to run the command which you have tried initially.
apt-get install docker-buildx-plugin
I am not getting the error now.
英文:
Even I got the same error as you have shown when I run the command apt-get install docker-buildx-plugin
.
Thanks @tiborvass for the commands.
I have taken reference from the above document.
Run the below command.
curl -sSL https://get.docker.com/ | sh
This command will run the docker-buildx-plugin
.
- Now run
docker buildx version
to check the installed version.
- Now try to run the command which you have tried initially.
apt-get install docker-buildx-plugin
Iam not getting the error now.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论