Took the day off today to drive to Findlay for the annual Flag City Balloon Fest. I’ve attempted this trip several other times, but the weather didn’t cooperate. Today the sky was clear and blue, and about a dozen balloons were inflated for Media day. Unfortunately, the weather still didn’t cooperate. High winds several hundred feet up scrubbed the launch, and shortly after this shot the balloons were brought back down.
- Cloudera Hadoop
- ODOO with Postgresql
One command I use a lot when working with Docker, is docker ps -a to see what containers I have and which ones are active. To save a little time when entering that command, create an alias in your BASH profile for that command.
- From a command prompt, change to your home folder: cd ~
- Edit the .profile file with a text editor. In my case, I use NANO: nano ./.profile
- Add this line to the end of the file: alias dpa=”docker ps -a”
- Save the file with CTRL-O and exit back to a command prompt with CTRL-X.
- Logout and log back in.
- At a command prompt enter: dpa. You’ll see the results of docker ps -a but without all the typing!
The default installation for Docker on Ubuntu server (16.04) configures the daemon (service) to listen on a local socket. But what if you want to access your Docker daemon remotely, from another box, If you are using the default configuration, you would need to open a Secure Shell to the server, and access Docker that way. But there is a way to setup Docker to allow remote access.
First, lets verify that Docker is only working with a local socket. On the server, run from this command line:
ls -l /run
The results show have an entry with the docker.sock entry like this:
And you can check that the daemon is not listening on any ports on your system by running this command:
sudo netstat -tlp
No Docker application should be listed in the results.