# check if dockercat/proc/1/cgroup# see all imagesdockerimages# see all containersdockerps--all# removedockerrm<CONTAINER_ID>dockerrmi<IMAGE_ID># runsudodockerrun-it<IMAGE_ID>bash# remove all containersdockerrm $(dockerps-a-fstatus=exited-q) # remove all imagesdockerrmi $(dockerimages-a-q)