Follow all the Docker Captains in one shot

Who are we?

#1 Create a list of Captains

$ docker run alexellis2/captains 
adrianmouat
adrienblind
ahmetalpbalkan
ajeetsraina
akalipetis
alexellisuk
allingeek
andyjiang
armenshimoon
arungupta
benjaminwootton
...

#2 Follow a list of Twitter handles

  • Head over to apps.twitter.com
  • Click Create a New Application
  • Fill out the Name, Description and a Website.
  • Now create a new text file and call it config.py
  • Fill out all the fields as per the Twitter apps page:
config = { 
"consumer_key": "",
"consumer_secret": "",
"access_token": "",
"access_token_secret": "",
"appear_in_my_feed": "True"
}
$ docker pull alexellis2/captains 
$ docker pull alexellis2/bulk-follow
  • Open a Terminal and cd to the folder where you saved the config.py file.
  • Type this in:
$ docker run alexellis2/captains | docker run -i -v $PWD/config.py:/root/config.py alexellis2/bulk-follow

Want to extend it?

See also:

--

--

--

CNCF Ambassador. OpenFaaS & Inlets founder — https://www.alexellis.io

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alex Ellis

Alex Ellis

CNCF Ambassador. OpenFaaS & Inlets founder — https://www.alexellis.io

More from Medium

Virtual Machines vs Containers

Learn Kubernetes: Secrets — Create a generic secret

Fixing some problems starting Minikube with VirtualBox on Mac

Terraform best practices that you should use in your project