Comments (9)
Thanks a lot, @SteveMaier-IRT for your inputs.
from aci-deploy.
Hey @aylmerbritto,
I do not think you are doing anything wrong. the aci-deploy command does not support multiple images in a single container group. There are other people that have forked this project that have different implementations to be able to have a single container group with multiple images inside of it. For my issue that I am seeing I am just deploying them to 3 separate containers until this gets fixed or until I look at all of the forks of the github action and see which one would work the best for me.
from aci-deploy.
This issue is marked need-to-triage for generating issues report.
from aci-deploy.
docker-compose can also do this for multiple images into a single container. The source code for this action has it where it is setting the array of images to an array of a single object instead of multiple.
from aci-deploy.
Hey @SteveMaier-IRT ,
Thank you for the response
I didn't quite understand what I have been doing wrong. If you don't mind can you please have a [look at this]
`
on: [push]
name: Linux_Container_Workflow
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# checkout the repo
- name: 'Checkout GitHub Action'
uses: actions/checkout@v1
- name: 'Login via Azure CLI'
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- uses: azure/docker-login@v1
with:
login-server: <url>
username: <username>
password: <pwd>
- run: |
docker-compose build
docker push #image1
docker push #image2
- name: 'Deploy to Rabit'
uses: 'azure/aci-deploy@v1'
with:
resource-group: <resource-group>
dns-name-label: <domain-name>
environment-variables: C_FORCE_ROOT=yes, APP_ENV=Production
image: image1
#command-line: celery worker -B -A simulator.tasks.celery --loglevel=debug
location: uksouth
name: crisismodellingmulti
ports: 8000, 5672, 15672, 15692
protocol: TCP
registry-login-server: <url>
registry-username: <unmae>
registry-password: <pwd>
restart-policy: Always`
and let me know what can be done?
The issue is, I can bring only one image up. while I have to launch containers from three images.
I manually deploy the app using aci.yml file `
The command I use is az container create --resource-group <> --file aci.yml
. I have all three containers running if I launch it manually using the yaml file. But there's no provision for me to pass the aci.yml here.
from aci-deploy.
Alright, thank you @SteveMaier-IRT
I understand.
I know it's too much to ask but can you point me to any of the forked repositories that deploy multiple images in a single container group?
Also, you mentioned that you had deployed
single container group with multiple images inside of it
May I ask how did you do that? Because even if you manage to mention the images in an array, I have different commands that have to run while these containers are launching. How do I map each command to the respective images?
from aci-deploy.
https://github.com/PierreVH2/azure-containergroup-deploy/
This one seems pretty good and also has the ability to have separate command lines for each container. look in the source for it in the taskparameters.ts to see how it is loading up the containers. Each one can have its own image, command, evironment variables, etc. Looks like it should work ok. I am going to play with it for abit as well.
from aci-deploy.
This means alot. I will try it and let know you either ways :)
from aci-deploy.
This issue is marked need-to-triage for generating issues report.
from aci-deploy.
Related Issues (20)
- Setting `ip-address` to `Private` causes an error HOT 12
- Container group cannot be updated HOT 9
- secure-environment-variables have visible values in azure portal HOT 11
- Multiple azure-file-volume-share-name and azure-file-volume-mount-path pairs support HOT 3
- Add support for using a configuration file HOT 5
- Make it easier to understand when it takes time to deploy an image HOT 3
- Feature request: In the documentation be more clear that you can/should set CPU/RAM HOT 1
- Start, Stop and Restart container instances HOT 2
- Prophet Model Deployment ERROR HOT 3
- Container App: CI deploy from GitHub failing after transferring ownership HOT 2
- Removing JS from version control HOT 6
- This issue is marked need-to-triage for generating issues report. HOT 2
- Add support for Vnet integration HOT 6
- Upgrade to node16 + stop using the "set-output" command HOT 3
- Azure ACI doesn't restart when log-analytics-workspace-* key/values are set
- How to deal with docker-compose projects?
- Error: Encountered an internal server error. The tracking activity id is '...', correlation id is '...' HOT 3
- Include guidance on .NET 8 deployment
- GitHub Actions Fails to Recognize Successful Azure Container Instances Deployment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aci-deploy.