JeiKeiLim / ducker

🐥 Ducker the docker helper
GNU General Public License v3.0
5 stars 2 forks source link

Remove lastexecid on .ducker.yaml #31

Open JeiKeiLim opened 11 months ago

JeiKeiLim commented 11 months ago

As is

There is lastexecid on ducker.yaml file which stores the last container id.

How it should be

Storing lastexecid on .ducker.yaml causes cumbersome on git tracking. Find another way to exec the last container.

How to solve

We can find the last exec container id by docker command docker ps --filter

Example)

$ docker ps -f ancestor=jeikeilim/ducker -a -qn1
c3833ad81cde