跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] dockerfile 换成个人阿里云 acr 源,服务端部署出错

发表于

在迁移镜像源之前,线上部署没问题。

dockerfile 做了这样的改动

# FROM nginx:latest as prod-stage
FROM registry.cn-hangzhou.aliyuncs.com/my_hub/nginx:latest

改动后,线上部署失败,容器报错 exec user process caused: exec format err

一开始以为是镜像本身问题,但是本地运行是跑通状态的。 于是改回:

#FROM nginx:latest as prod-stage
# FROM registry.cn-hangzhou.aliyuncs.com/my_hub/nginx:latest

服务端再部署,正常运行。

是服务端 docker 哪儿没有配置好吗?关键是本地也没怎么配置..

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.