Discover and read the best of Twitter Threads about #docker

Most recents (6)

1/ #Django will use watchman to do autoreload if it's installed since 2.2. The default reloader runs stat on all the files in your project once per second, whereas watchman will use os file system events, which is much more efficient.
2/ I never cared about this until I spent an afternoon figuring out why Docker for Mac's hyperkit process sits on 120% - 150% cpu use while running my mid sized django project in a container.
3/ i used 'docker stats' to deduce which container, then 'top' and 'ps auxf' to work out which python process was the problem. Then did a thread dump of the django server using faulthandler.dump_traceback() triggered from an API call, and then 'docker log'
Read 7 tweets
Did you ever ask yourself if cgroups (containers, pods, whathaveyou) can impact the @golang runtime? I did and here's what I learned... (thread) 👇#Docker #Kubernetes #Linux
So ~2y ago, while working with a lot of customers moving into containers and #Kubernetes, I naturally hit the (now well-known) Java/JVM cgroups issues (all you need to know -> lightbend.com/blog/cpu-consi… and ).
Now, @golang being the language of my (your?) choice, this made me curious and I started to ask questions:
Read 25 tweets
So, the #Alpine Linux #Docker root password issue (CVE-2019-5021) has been interesting to follow over the last few days. This is a security regression I reported earlier this year which resulted in this CVE. So, why “interesting”? (1/11)
Between posts of "this seems bad", "this isn't a vulnerability" - and a handful of rather colourful personal attacks for good measure - the impact of this issue seems to have been muddied leaving some questions as to potential impact. (2/11)
The major caveat, from my perspective, is that successful exploitation requires a specific configuration and is not exploitable on an “out of the box” Alpine image: The vulnerability exists, but there are no mechanisms to trigger it. (3/11)
Read 11 tweets
So recently someone told the risks of opening the #docker port to the world in a talk. I was like what could go wrong. Developers seldom care about security. But today I tried to access few IPs whose docker ports were open,
*I was able to log in to their DB using root password*
A quick open port scanning showed many IPs where docker's default port was open. Running the `docker -H <ip>:<port> ps` gave the containers running inside that machine. There is a sql database running in a container. And even some demo container for a japanes website was running.
Of course you will be able to pull any image and run it in their machine. And since you are able to start a container, you could easily run an alpine instance, mount a any folder from host machine and access all the files form host machine 😲
Read 7 tweets
There are just over two weeks left to submit a talk for #GR8Conf EU 2019 at cfp.gr8conf.org

If you need ideas, here's a thread.

#groovylang #grailsfw #gradle #spockfw #gebish #griffon #springboot #micronautfw #ratpackweb #sdkman #android #devops #ci #cd #cfp #jenkins
Feel free to like/❤ a topic you’d attend and @ people you think should submit a talk on this topic. I have A LOT of ideas so I’ll spread this out over a few days maybe a week depending on how this goes.
1/ an intro to @spockframework

including:
- using #spockfw in a polyglot organization including any tips/tricks for integrating with other languages like #Java and #Kotlin
- the top things you wish you knew when you started using spock
- good testing practices in general
Read 15 tweets
principais (na minha opinião) serviços da #Aws e sua utilidade

a thread
Elastic Cloud Compute #EC2: maquinas virtuais, você pode usar subir aquele linux (ou windows) para montar um servidor

o serviço é altamente configurável e escalável, acaba servido de base para outros serviços da plataforma, é cobrado por hora/uso

o famoso servidor na nuvem #aws
Elastic Container Service #ECS: é um orquestrador de contêineres #docker, utiliza o #EC2 como base, aqui você monta as definições das suas aplicações/containers, conseguindo escalar, diminuir, atualziar de um jeito bem fácil

e ainda compartilhando recursos de hardware #aws
Read 8 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!