5
docker run -it python && docker commit `docker ps -l | tail -1 | cut -f1 -d' '` throat

What does that do? It runs a python image in interactive mode and then saves the most recently closed image to the name throat when done.

It seems like a lot for something I want to do often.. saving the most recent image to a name.

``` docker run -it python && docker commit `docker ps -l | tail -1 | cut -f1 -d' '` throat ``` What does that do? It runs a python image in interactive mode and then saves the most recently closed image to the name throat when done. It seems like a lot for something I want to do often.. saving the most recent image to a name.

2 comments

[–] pembo210 0 points (+0|-0)

@monoxane do that docker magic thing ^

[–] fusir [OP] 1 points (+1|-0)

I personally hate docker but sometimes you need it to know what it takes to install something on a blank system.