Docker does not run natively on OSX, only Linux. Docker Machine was created to add a Linux VM environment to run Docker containers on OSX. Install using Homebrew:
brew install docker
brew install docker-machine
docker-machine create| # pip install requests | |
| import requests | |
| import json | |
| url_template = 'https://api.foursquare.com/v2/users/self/checkins?limit=250&oauth_token={}&v=20131026&offset={}' | |
| # If you navigate to https://developer.foursquare.com/docs/explore, Foursquare | |
| # will generate an OAuth token for you automatically. Cut and paste that token | |
| # below. | |
| token = "" |
Docker does not run natively on OSX, only Linux. Docker Machine was created to add a Linux VM environment to run Docker containers on OSX. Install using Homebrew:
brew install docker
brew install docker-machine
docker-machine create