◐ Shell
clean mode source ↗

Can't find any sample for creating config and attach to ContainerSpec for latest release

I am referring to the example ConfigSpec configSpec = new ConfigSpec().withName(configName).withData(configData); it's not valid with the latest release. The structure might get changed but need to understand the new structure to set configs.
Maven version -

com.github.docker-java
docker-java
3.5.1