I’m trying to mount a volume inside a container. Here’s my machine_config
{
"containers": [
{
"name": "app",
"dockerfile": "Dockerfile",
"mounts": [
{
"path": "/home/git",
"name": "knot_data",
"volume": "knot_data"
}
]
}
]
}
And I have this in fly.toml
[[mounts]]
destination = "/home/git"
source = "knot_data"
But I’m getting an error when deploying:
Failed to update machines: failed to update machine 5683939df17308: failed to update VM 5683939df17308: container has mount knot_data that is not specified as a volume in machine configuration Retrying...
What am I doing wrong?