2

In short, docker exec is used to operate an already-running container, while docker run -it starts a new container interactively. When you ran docker run -it --network foo --rm redis redis-cli -h rd you created a 2nd container, this time using the redis-cli image, which was used to query your running redis container. Were you to repeat the steps you took, ...


2

The simple answer is "yes" you can use Ansible for monitoring configuration, but you will have to do some extra work. As Vasily stated in their answer, Ansible does not have a built in triggering mechanism, so you need something to trigger the convergence of state. This can be done in several ways, the easiest being probably ansible-pull. As the ...


1

There is probably a better way if you are working with Google Cloud Run. I have not tried this but I see that they have "Secret Manager" that you can use. They also mention a project Berglas that can be used to store secrets in GCS cloud storage. In my personal experience, it find it best to leverage widely adopted solutions and avoid creating a ...


1

Since this is for your learning, it shouldn't tax your hardware incredibly. If you are hosting I would with a free student account if you can. But if you have a linux laptop all of this should work well on it. You're not writing apps that are getting 10,000's of connections and transforming complex data. If you had an enterprise app I would indeed split off ...


1

If you're just migrating I'd also recommend using helm. When using helm create the chart definition within the source code repository of the application, https://helm.sh/docs/helm/helm_create/. With an increasing number of services it can become harder and harder to manage so people have started to embrace a "monorepo" that contains a definition of ...


Only top voted, non community-wiki answers of a minimum length are eligible