I am trying to create an ECS container for eclipse che.
Can you please help with the steps to do the same.
i am able to setup Che on EC2 but not able to do the same on ECS
Related
I am an engineering newbie who is trying to learn something while experimenting with Raspberry Pi. I wanted to try out Docker, so I followed along with a tutorial, which installed Docker, docker-compose and via that, Portainer.
Now I am a bit lost.
What is the purpose of docker-compose?
What is the purpose of Portainer?
And if I want to add some container like NextCloud/openVPN how do I do that? Thru Portainer? Or docker-compose?
Thanks!
Portainer is just a visualized tool for Docker suite. You can run docker commands everywhere a portainer-agent runs as long as you have access to it and it is not an official Docker product.
Docker-compose from the other is a set of docker commands as part of docker engine (community and enterprise) that will help you to orchestrate containers in a single node (PC or VM). If you want to orchestrate more than a single node, you should read about Docker-Swarm or Kubernetes.
A very nice article to understand swarm vs compose differences is here.
Portainer is just a tool on top of Docker that gives you a UI for free because Native Docker Universal Control Panel is on enterprise edition only.
I've oVirt running and providing several VMs (Debian, CentOS and RedHat), now I want to provide VMs with minimalist Kubernetes cluster running inside to developers.
For example, Minishift creates a VM with Openshift (Kubernetes) locally, but now since we have oVirt, we want to provide these VMs for that developers can get access remotely to them.
Has anyone experimented with this?. Any idea is welcome.
Thanks in advance.
I've collected from oVirt and Openshift forums different suggestions. There are 2 options:
Generate from Minishift/Minikube a VM which will be imported as an oVirt Template.
oVirt Templates
Use oVirt Ansible Roles and Openshift Ansible. This will require to understand what are the Openshift requirements and configurations in oVirt:
Openshift on RHV4(oVirt)
oVirt Ansible Roles
Openshift Ansible
Regards.
edit: I have updated this question with more detail
I'm trying to deploy an Docker compose to Service Fabric. This cluster is a custom setup using three vm's (Windows Server 2016 Datacenter with Containers) on Azure running the latest version (CodeVersion 6.0.219.9494).
I'm using VSTS with the 'Deploy docker-compose application to a Service Fabric cluster' task to deploy the docker compose file. VSTS uses a custom build server (Server 2016) on which Service Fabric SDK 2.7 is installed. I couldn't install 2.8 because the task in VSTS is not compatible, see https://github.com/Microsoft/vsts-tasks/issues/5505.
So far, so good. But when Service Fabric deploys the container I receive the following error (In Service Fabric Explorer): There was an error during download. Failed to download container image erwinstaal/dockerdemo. This image has been pushed to a public repo on Docker Hub. However, when I use the Docker images command on one of the nodes the image has been downloaded. Does anyone have a clue on what could be going on?
I have installed jboss-fuse-karaf-6.3.0 and created a project in developer studio.
I'm not able to figure out certain concepts around it.
In Apache Fuse how Karaf and Fabric containers are related ? What I understood is Karaf provides runtime environment for the project to run. Fabric is for managing deployments. Is that correct ?
I have started Karaf container by running FuseInstall/bin/start.bat . How to start the fabric container ?
Is http://localhost:8181/hawtio is fabric console ?
Is there a way to directly deploy a project to Karaf container using maven ? or we need to deploy the project to fabric ?
Thanks !
Fuse is an ESB product by Redhat. And yes, you understood it correctly that Karaf provides an OSGI runtime whereas Fabric is for managing multi-container deployments.
You don't start a fabric container. You need a Fabric agent or something similar for that. Not very familiar with it, but you can refer Fuse's documentation here and here regarding this.
Hawtio is basically a visual management console for various containers.
You can definitely deploy your OSGI bundle directly into a Karaf container. There are various commands such as :osgi:install " OR placing the bundle at FuseInstallDir/deploy. The Documentation it explains much better.
A Fabric is just a group of commonly managed Karaf containers. It lets you manage your containers using Profiles instead of just features and bundles.
Once you have started a Karaf container you can CREATE a Fabric. Follow these instructions: https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Fuse/6.2.1/html-single/Fabric_Guide/index.html#Deploy-Fabric-Create . Any other Karaf containers you start will then be JOINED to the existing Fabric.
Once the Fabric has been created, localhost:8181/hawtio will have Fabric specific content
If you are using Fabric, then you can use the fabric8 Maven plugin to deploy your application to a Profile directly. See more details here: https://fabric8.io/gitbook/mavenPlugin.html . Basically you can just run mvn fabric8:deploy and it will update the fabric to use your new code. Be careful here as this will tell Fabric where to find your new code in its list of Maven repos. If you have not deployed your code to a central or shared repo and it is only on your local machine, and the container that is getting the deployment is on a separate machine, it will not work.
Be sure to read up on how profiles work as well, because adding your code to a profile does not add it to a container unless that container is already set up to include the profile you are updating. The fabric guide I linked first explains this well.
I am interested how do you (scala play2 devs) deploy in cloud? Which cloud provider and so on. Because I am not sure I am doing it in easiest way. I used heroku and it was good. Trying now digitalocean and for now deploying by ssh manually(or jenkins). I did not use docker or dokku for now.
If you're on AWS, CodeDeploy could be a good start for automatic deployments. (http://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started.html)