Http proxy on Linux Amazon AMI

Hi,

I have docker installed on the amazon ami. I need to put in the http proxy.

The documentation only shows how to get an http proxy working with upstart or systemd. The amazon ami does not use systemd or upstart.

How can I get the proxy working?