Docker Community Forums

Share and learn in the Docker community.

Problems with Rename a Container API

I’m writing Docker API in Jolie language, i’m going to map the Rename Container API but the output error message is always the same “Neither old nor new names may be empty”. I’m already give id path parameter and name (the new name) query parameter like official documentation say but it doesn’t work. I’m using the last version of Docker 1.13 and the last version of Docker API v1.25.

Thanks

OK, i’ve already find a solution for this. Simply put the new_name in the path like a parameter.