035179593513 [email protected]

Search or grep docker logs

Normal grep and piping seems not to work for docker: docker logs target_container | grep include_term   That is normal, because docker logs internally to the standard error out, so we have to redirect the standard error output (2) to the standard output (1):...

escaping docker environment variables

This is the solution: Using single-quotes instead of double-quotes Escape the ampersand & to \& Not escaping the exclamation mark ! e.g. docker run -i -t –rm \ -e ‚LDAP_FILTER=(\&(objectCategory=person)(objectClass=user)‘ \ -e...
de_DEDeutsch