Pod stuck on ContainerCreating due to FailedMount

I have a sporadic issue specifically with big volumes (~2TB) where the pod in my Kubernetes cluster is stuck on “ContainerCreating” with the reason : failed to mount the volume as “xfs”, it already contains unknown data, probably partitions. Mount error: mount failed: exit status 32 mount: /var/lib/kubelet/plugins/kubernetes.io/aws-ebs/mounts/aws/eu-central-1a/vol-03717f362cd8d0611: wrong fs type, bad option, bad superblock…

Nextcloud Snap with Collabora cannot install certificate with Let’s Encrypt

On an Ubuntu Server 16.04 I have an installation of Nextcloud (SNAP) and Collabora document management (Docker). It’s internal IP address is 192.1368.1.30 NextCloud-Snap listen on 443 Collabora-Docker listen on 9980 On this server there is also Apache2 with the following configuration in order to make Collabora app talks with NextCloud: <VirtualHost *:80> ServerName docs.mydomain.com…

Remove host previously added with –add-host from running docker container

I previously started a container by using docker run –add-host myserver:123.45.67.89 –name my-container <etc> Now I want to update THAT container, so that I remove “myserver” from the containers hosts file. How do I do that? I basically need docker service update –host-rm for a container and not a service…. Since I haven’t put my…

Is there a way to provide a config file or private key to an Elastic Beanstalk instance?

I have an EBS instance running a Golang webserver application, which uses a config.json that contains important and private configuration values like Database address, user and password. I’ve been trying to find a solution to provide this configuration file to the EBS instance without needing to commit the file itself to version control (it’s Github,…