I have a simple app built as docker image (ubuntu) and put it into docker container. It has few volumes attached to it. I want to push this container to Azure AppService Linux. I tried a few options but with no success.
Azure CLI to create a web app and push container to azure container registry and then deploy that to web app.
Gives
invalid reference formaterror.Uploaded container to
acrand updated web app container settings to load this container into web app.Gives
image not foundorinvalid reference formaterrors.
Not sure how to proceed on this. Any help is highly appreciated. I would also like to know how to use persistent storage for volumes here. Azure fileshare is better option but not sure how to map that to container path.
Below is my sample docker-compose file.
version: "3.3"
services:
test-backend:
image: test-002
container_name: test-002
restart: always
volumes:
- ./assets:/opt/test_files
- ./medialibrary:/opt/test_medialibrary
- ./app-configs:/opt/test_configs
- ./logs/backend:/opt/test-backend-logs
extra_hosts:
test-converter: "127.0.0.1"
ports:
- "8000:8000"
volumes:
test-data:
test-data2:


