我正在使用docker hub作为容器的来源,而我的Dockerrun.aws.json在
下{
"AWSEBDockerrunVersion": 2,
"containerDefinitions": [
{
"name": "client",
"image": "docker.io/hyprfulhub/store_client",
"hostname": "client",
"essential": true,
"memory": 256,
"portMappings": [
{
"hostPort": 3000,
"containerPort": 3000
}
],
"mountPoints": [
{
"sourceVolume": "client",
"containerPath": "usr/app"
}
]
},
{
"name": "server",
"image": "docker.io/hyprfulhub/store-server",
"hostname": "server",
"essential": true,
"memory": 256,
"portMappings": [
{
"hostPort": 8080,
"containerPort": 8080
}
],
"mountPoints": [
{
"sourceVolume": "server",
"containerPath": "usr/app"
}
]
}
]
}
我也无法理解如何在AWS中设置Docker凭据。该应用是带有节点服务器的create react应用。请提供所有优质资源。
现在我低于异常
Service:AmazonECS, Code:ClientException, Message:Unknown volume 'client'., Class:com.amazonaws.services.ecs.model.ClientException
有关详细信息的更新错误
ebcli.objects.exceptions.ServiceError: Failed to deploy application.