If you don’t set a version in your docker-compose yaml file. It defaults to the docker-compose format for version 1.0. This is completely despite what version you have docker-compose installed.
Also to note in Version 1.0:
Despite most of the documentation stating you can setup networks. Your networking is not set up to share containers amongst each other in the compose file unless you specific explicit container links.
Otherwise you’re going to get non-descriptive “getaddr socket errors” when you try to connect to the other services.
This week I learned about:
- There is a new change to how network devices are named. This may change your network device from eth0 to something like env10p0.
- Archlinux is very similar to Gentoo, but it is based on a script to install everything.
- 2to3 is a python script that will convert a python script from a version Python 2.0 to a 3.0 compatible script.
- One major difference between 2 and 3 is that the print statement became a function, thus requiring parenthesis.
- It is easier to hard code the Python 2 environment, rather than to convert the script into a Python 3.0 script.
- #!/usr/bin/env python2.7 [or whatever Python 2 environment that is installed] should be used in the shell definition of the script.
- OpenVAS– Open Vulnerability Scanner: I haven’t tried this yet, but this is a neat utility that can help you keep tabs on the software you currently have installed and the possible vulnerabilities that they may have.
- Always snapshot your VM after you finish major installs. [This saved my butt this week]
- Ansible – This looks like a nice Open Source version of HP Operations Orchestration.