Docker-compose Tips and Tricks

Docker-compose is a very useful tool when you need to orchestrate multiple containers. Here are some useful tips and best practises. Build container Build and start containers in detached mode:

–no-deps – ignore the container dependency –no-cache – ignore the cache Container logs Control containers The following command will stop and the remove all…

Read More

Linux commands for WEB developers

Copy a folder

What port is used?

Find and delete files greater than a given size

Find out directories using disk space Find a file

Sorting ls command output by file size

to reverse order use -r option. Archive directory

Copy files from remote to local with Rsync

Read More