Ever since I moved to Seattle, I decided to tell myself, and others, that I am not a writer. Any more. Sometimes I add that qualification, sometimes, I do not.
I see how for conservatives, states are the unit at which competition is fostered in government policy. They see states as needing to be run like businesses, competing with each other for labor and creating the “product” of more optimal social conditions.
Some commands worth knowing, until one starts using Docker a lot are as follows:
This took me a while to figure out from scratch. The most important thing is to know that
docker pull postgres retrieves an image from the main Docker registry.
After you retrieve the image, you run a container with parameters, which are used in its entrypoint file, to set up a database. But you still have to know to mount a volume from the “host” (the physical machine) and to expose ports.
docker run -p 5432:5432 --rm --name postgres_container -d -v /var/www/postgres_data:/var/lib/postgresql/data -e POSTGRES_DB=yourdb -e POSTGRES_USER=youruser -e POSTGRES_PASSWORD=yourpassword postgres
Note here that
postgres (the last argument to
run) is the name of the image which is what you get when you run the pull from Docker.
Plato HQ hooked me up with Hal Eisen on a conference call AMA, where we talked about achieving consensus on a team.
Did this go to Facebook?
rake spec SPEC_OPTS="--seed 12345"
So you got Redis running in its own container, what you do is…the container will still have
/bin/sh available to you, so just run this: