Professional Documents
Culture Documents
docker start attempts to start a stopped container(s) dockerize logs in to aws in order to pull new images
Image A snapshot of a lightweight filesystem in order to run NAMES Interchangeable with CONTAINER ID - used to
specific tasks reference a specific container
Container An instantiation of an environment created from a CONTAINER Interchangeable with NAMES - used to reference a
specific image ID specific container
Fileca‐ A file mount that is shared across all containers IMAGE Image that the container environment is running on
binet
COMMAND Command(s) that the container is runs when started
CREATED Date when container was first created
Troubleshooting
STATUS Current status of container - will also display exit
docker ps -a use to see which containers are not
codes
starting if linking errors occur
PORTS Displays external -> internal port mapping and
docker logs use to see specific logs and errors for a
protocal
CONTAINER container to trouble shoot bad exit codes
src_sync use if logs reveal that files cannot be found xdebug - docker native
docker_bu‐ use if parameters/dependencies seem to sudo ifconfig lo0 alias 10.254.254.254
ild/build‐ be incorrect
docker exec -it webserver bash
_js/compose
vi /etc/php.d/xdebug.ini
docker rm use if a file is corrupt in a container
press i to be able to edit, arrows to navigate
CONTAINER NOTE: DO NOT REMOVE *_data
CONTAINERS AS THEY WILL TAKE A set xdebug.remote_connect_back=0
LONG TIME TO DOWNLOAD set xdebug.remote_host=10.254.254.254
docker_cache‐ use if annotations or other cached assets set xdebug.remote_autostart=1
_clear/docke‐ seem to be corrupt/not updating
to save and quit from vi:
r_cache_forc‐
press esc
e_clear
type :wq
press enter